Skip to content

laraib-sidd/polling_task

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Basic Polling System

  • Created Using :
    • Nodejs (Backend)
    • Database (MongoDB Atlast)
    • Reactjs (Frontend)

Prerequisites 📋

You'll need Git and Node.js (which comes with NPM) installed on your computer.

node@v10.16.0 or higher
npm@6.9.0 or higher
git@2.17.1 or higher

How To Use 🔧

From your command line, first clone taskmanager:

# Clone this repository
$ git clone https://github.com/laraib-sidd/polling_task.git

# Go into the repository
$ cd polling_task

Then you can install the dependencies either using NPM or Yarn:

Using NPM:

# Install dependencies
$ npm install

* Go inside the clien folder and install react dependencies

$ npm install

Using Yarn:

# Install dependencies
$ yarn

# Start development server
$ yarn develop
ApiKeys required:
* MongoDB URI

NOTE: If your run into issues installing the dependencies with NPM, use this command:

# Install dependencies with all permissions
$ sudo npm install --unsafe-perm=true --allow-root

Once your server has started, you can access the api at http://localhost:5000/ and your react app running on http://localhost:3000/ .