This is a simple Node.js server application boilerplate with CRUD operations. It provides REST APIs.
Before using it, please ensure that you've already installed the following programs
Git as version control,
Node.js as server app,
Yarn as Node.js package manager,
MongoDb as database programs.
If you haven't, these are their links for installing
Program/lib | version | command for checking
Git | 2.24.0 | git --version
Node.js | v12.15.0 | node -v
Express | ^4.17.1 | see in this app package.json
MongoDB | v4.2.1 | mongo --version
Mongoose | ^5.7.13 | see in this app package.json
Mocha | 6.2.2 | see in this app package.json
Yarn | 1.19.1 | yarn -v
- At first clone this repository
git clone https://github.com/Vladinho10/node-server-template.git
- After it you should write your git credentials (if it needs)
- enter downloaded directory
cd node-server-template
- create your .env file like .env.simple file
for npm
- install packages
npm i
- run server
npm run start
or
npm start
- if you want your server stay always running
npm run nodemon
for yarn
- install packages
yarn
- run server
yarn run start
or
yarn start
- if you want your server stay always running
yarn run nodemon
or
yarn nodemon
We are inspired from Airbnb eslint configurations. We suggest eslint config our version, and we'd love to accept
any suggestions about the code style which is in line with our philosophy ))
more
Coming soon !
more
<menk ogtagorcum enq miayn ardiakan u voch hnacac caser, usti grel enq mian dranc masin> <chenq grum kich ogtagorcvox kam chogtagorcvox methodnery <chenq ogtagorcum custom toSring, new Object,>