8000 GitHub - EnetoJara/agenda
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

EnetoJara/agenda

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fullstack hello world type of project

The whole project is divided into 4 different directories

  • client
  • rest-api
  • postgres
  • nginx

client

this is where we are going to spend must of the time.

$ cd client && npm start

rest-api

Poor implementation of a restfull api.

  • GET /api/v1/users
  • POST /api/v1/users
  • DELETE /api/v1/users/:id
  • GET /api/v1/lists
  • POST /api/v1/lists
  • DELETE /api/v1/lists/:id

AS you might noticed it does not comes with any update method, it could be your Homework if you want.

to run the back all you need to do is:

$ cd rest-api && npm start

NOTE: before you try to run the api, make sure postgres db is up and running.

postgres

To run the db all you need to do is.

$ cd postgres && docker-compose up --build -d

if by any means you found a folder call postgres-data after you finish cloning the repo it might causes you some trouble. just remove it

$ rm -rf ./postgres/postgres-data

nginx

To be honest with you, I don't think this shit works, so dont try to run it.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  
0