chauhanparth210 / ProgrammingClub_SEN_Backend

Backend for Programming Club Web App based on Node.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SEN Backend : Progaramming Club

For Development

  • You need Node & Yarn to run this application. Download them here - Node, Yarn.

  • You will need to set the database host url in a new .env file to the url you are hosting the database server on.

  • An example .env file will look like this:

      EMAIL = ""
      PASSWORD = ""
      URL = "http://localhost:5000/"
      SECRET_KEY = ""
      LOGIN_PAGE = "http://localhost:3000/login"
      DATABASE_STRING = "mongodb://localhost:27017/programming-club"
  • To run the server run the following commands in the directory of sen-backend:

     yarn 
     yarn start
  • To run test

     yarn
     yarn test
  • For fatching updates

     git pull 
     yarn 

About

Backend for Programming Club Web App based on Node.js


Languages

Language:JavaScript 100.0%