Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Waldemar999/sleepagotchi-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sleepagotchi-api

sleepagotchi-api is REST API written on Node.js with user creation and simple authentication.

Installation

  1. Use the npm to install dependencies.
npm install
  1. Create .env file (for reference see .env.example) and generate secret key.

  2. Setup local.json file and connect to the database.

Usage

Use npm start to run API in development mode.

npm start

Use npm run start:prod to run API in production mode.

npm run start:prod

Use npm run migrate to run first migration which creates initial database tables.

npm run migrate

Also you can find Swagger documentation at 'http://localhost:8080/api-docs'

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors