melbesnard85 / mel-survey

Code-Labs-Academy-Challenge

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mel-survey

Code-Labs-Academy-Challenge

A basic survey web application made using Nodejs and Reactjs with custom data persistence.

Features:

  • Creating a survey.

  • Taking a survey.

  • Getting results of a survey.

  • A survey should consist of questions, each having yes/no (true/false) answers.

  • I did not add delete api yet(you didn't order it)

How to run the project:

  • navigate to a proper directory and open your terminal there.
  • Clone the project by executing the following git command:
git clone "https://github.com/melbesnard85/mel-survey.git"

The node backend:

  • Once finished, we need to start our backend server. In order to do that, we navigate to the backend folder from the inside of our cloned repository folder with the following command:
cd .\backend\
  • We now will load the backend's node modules via npm like this:
npm i
  • After all node modules are loaded we can start our server using the node command like this:
node server.js
  • All set now the backend is up and working.

The react app:

  • open a new terminal window on the "frontend" directory and download the dependencies:
npm i
  • Once all dependencies are downloaded, run the next command to start the app:
npm start

About

Code-Labs-Academy-Challenge


Languages

Language:JavaScript 91.2%Language:HTML 6.4%Language:CSS 2.3%