/BetterPoll-Backend

Backend for the BetterPoll mobile app. Created using node js and mysql.

Primary LanguageJavaScript

BetterPoll-Backend

This is the backend repository for the BetterPoll android application currently under development.

The APIs are being created using node js, express js and mySQL as the database and will be deployed on heroku for testing.

The frontend repo : https://github.com/adityabisht02/Betterpoll

How to Setup:

  1. Install Node js https://nodejs.org/en/download/

  2. Clone this repository and cd to the folder containing the index.js file.

  3. Run npm i to install dependencies.

  4. Create a database "betterpoll" and run the initialiseDB() function to create tables for users and admins.

  5. Run nodemon index to start the server.

Rough idea of the backend :

image

image

image