Skip to content
This repository has been archived by the owner on Dec 16, 2019. It is now read-only.

rksh1997/lector-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

77 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Installation

  • git clone https://github.com/FrankenSteinxD/lector-backend.git
  • cd lector-backend
  • npm install or yarn install
  • create a .env file in the main directory and it should have these variables:
    • DB_URL the url of the database

      • mongodb://localhost:27017/lector
    • PORT the port that the app should run on.

      • 7000
    • JWT_SECRET a secret that is used by jsonwebtoken.

      • thisisverysecuresecret
    • DEFAULT_STORY_COVER a url of a default story cover.

      • www.google.com/images/me.jpg

Running the server

npm start or yarn start

Testing

npm run lint or yarn lint

npm run test or yarn test

Building Documation

npm run build:docs or yarn build:docs

About

Lector is an online story sharing platform, made for Wikilogia Hackathon web development competition.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published