Skip to content

codenamics/Voting-App

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Voting-App

NodeJS backend for voting app + React on front

Main Technologies

  • JavaScript ES5/ES6+
  • NodeJS
  • Express
  • MongoDB
  • React/Redux
  • NPM
  • ChartJS

Before any action create in root directory

.env

and put there

mongoURI='your link to mlab'
SECRET='yoursecret'

Setup

$ git clone or download

Go to project direction

Install dependencies for server

$ npm install

Install dependencies for client

$ cd client
$ npm install

Run server (nodemon)

$ nodemon

Run server (client)

$ cd client
$ npm start