Skip to content

adityabisht02/BetterPoll-Backend

Repository files navigation

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-Android

How to Setup:

  1. Install Node js

  2. Clone this repository using git clone https://github.com/adityabisht02/BetterPoll-Backend

  3. change directory to the folder containing the index.js file using cd BetterPoll-Backend

  4. Run npm i to install dependencies.

  5. Create a mySQL database called "betterpoll". Check here to install mySQL

  6. Run npm run initialise-db function to create the required tables (after you have created a database named betterpoll).

  7. Run npm run fill-sample-data function to add sample data to tables for testing.

  8. Run npm start to start the server.

Backend workflow:

image

image

image

image

image

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published