Skip to content

Node js application developed for the purpose of practice and familiarization with some best practices in node js development.

Notifications You must be signed in to change notification settings

kiptoo-korir/practice-node-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Node API

Very simple api in node js/express, developed solely for the purpose of practise in node js itself and trying to learn a few industry best practices as referenced in nodebestpractices. Feel free to checkout these best practices in node js, I assure you there's some awesome stuff there.

Project Setup

  1. Clone the project git clone git@github.com:kiptoo-korir/practice-node-api.git
  2. Install the dependencies through npm i
  3. Create your database in postgres
  4. Run the queries found in the sql files located in the db/migrations directory
  5. Create a .env file from the .env.example in the root directory
  6. Setup your .env file by filling in your database credentials among other details

Run The Server

In the development environment, nodemon is used to run the server, using the command

npm run dev

Upcoming changes

Will be including at least a postman collection in the repository for ease of playing around with the api and if time allows proper api documentation

Invitation to comment

Feel free to pitch in with contributions and or corrections on the code, Thanks.

About

Node js application developed for the purpose of practice and familiarization with some best practices in node js development.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published