Skip to content
/ NODE-RESTFUL-API Public template

boilerplate of a basic node API model for you if you want to start a new RESTFUL API with node and mongoose Made with Node|express|MongoDB And for authentification bearer token

Notifications You must be signed in to change notification settings

thinker732/NODE-RESTFUL-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NODE-API-MODEL

This project is a boilerplate of a basic node API model for you if you want to start a new RESTFUL API with node and mongoose it's perfect for you if you just need a model to start (with authentification (Bearer)) Node|express|MongoDB

Installation

Use the package manager npm you also need nodejs and mongodb if you want to use the model.

but i think you already know that

Usage

Install Node modules

npm install

create and config .env File

    touch ./config/dev.env 
    touch ./config/test.env

    echo "PORT=value_port" >> ./config/dev.env
    echo "MONGODB_URL=mongodb://127.0.0.1:27017/database_name" >> ./config/dev.env
    echo "DEBUG_MODE=true" >> ./config/dev.env
    

launch the dev environment

npm run dev

launch the Test environment

npm run dev

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

Unlicense

About

boilerplate of a basic node API model for you if you want to start a new RESTFUL API with node and mongoose Made with Node|express|MongoDB And for authentification bearer token

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published