The intention of this repository is to create a Node backend server that follows the boilerplate guidelines without using a framework such as express.
Postgres is needed for running the service successfully and sending info to the database.
Run npm install to gather all the dependencies.
To start up the service run npm start.
- Routing for user endpoints
- Endpoint functionality:
- /users GET
- /users POST
- /users/{userId} GET
- /users/{userId} PUT
- /users/{userId} DELETE
- Database connection
- Testing
- Error Handling
- Babel
- Babel has been used for functionality such as
import.
- Babel has been used for functionality such as
- uuid
uuidhas been used to generate a uuid for each created user.
- uuid-validate
- Used to verify the validity of given user id's.
- md5
- For hashing the users password on the database
- pg
- For connecting to postgres