Skip to content

NickFitton/node-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Boilerplate Backend - NodeJS Pure

The intention of this repository is to create a Node backend server that follows the boilerplate guidelines without using a framework such as express.

Setup

Postgres

Postgres is needed for running the service successfully and sending info to the database.

Packages

Run npm install to gather all the dependencies.

Startup

To start up the service run npm start.

TODO

  • Routing for user endpoints
  • Endpoint functionality:
    • /users GET
    • /users POST
    • /users/{userId} GET
    • /users/{userId} PUT
    • /users/{userId} DELETE
  • Database connection
  • Testing
  • Error Handling

Dependencies

  • Babel
    • Babel has been used for functionality such as import.
  • uuid
    • uuid has 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

About

A boilerplate codebase for running a server using node without a framework

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors