Skip to content
This repository has been archived by the owner on Nov 25, 2021. It is now read-only.
/ blog-api Public archive

Project for studying and experiment with REST API

Notifications You must be signed in to change notification settings

per0w/blog-api

Repository files navigation

Blog-API

code style: prettier tested with jest

Project for studying and experiment with server side by NodeJS. In the context of the project will be implemented API for blog.

Main packages:

Settings

Before start app, you should pass env: MONGO_URI There are several ways to pass env.

Pass it before start app:

MONGO_URI=mongodb://localhost/my_database

Add to: ./config/default.json

"mongo": {
  "uri": "mongodb://localhost/my_database"
},

Or create file: .env

MONGO_URI=mongodb://localhost/my_database

Use

# Install dependencies
yarn install
# Run server
yarn start
# Run server with nodemon
yarn dev
# Run lint
yarn lint
# Fix lint errors
yarn lint:fix

About

Project for studying and experiment with REST API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published