Schoodle is a useful scheduling and polling app which allows the user to create a poll on different times of the meeting. It is easily sharable with anyone who knows the link, and can be voted to decide when they want to meet up!
- Create the
.env
by using.env.example
as a reference:cp .env.example .env
- Update the .env file with your correct local information
DB_USER=postgres
or your database usernameDB_PASS=
or your database passwordDB_NAME=midterm
or your database nameDB_PORT=5432
DB_HOST=localhost
- Install dependencies:
npm i
- Fix to binaries for sass:
npm rebuild node-sass
- Reset database:
npm run db:reset
- Check the db folder to see what gets created and seeded in the SDB
- Run the server:
npm run local
- Note: nodemon is used, so you should not have to restart your server
- Visit
http://localhost:8080/
Welcome to Schoodle!
Give your meeting a title, a description, register your name and email, and pick your date & time options for the poll
After created your meeting poll, you can choose to vote by entering your name and email. Or you can choose to vote later and send this poll to others by copying the unique url
The poll result is calculated in real-time
This project used JavaScript, CSS for the Frontend and Node.js for the Backend. PostgreSQL is used for the database, and deployed on Heroku
Stack: JavaScript (jQuery, AJAX), Node.js, Express, CSS, Bootstrap, PostgreSQL, Heroku
- Kaiteng Lo: https://www.linkedin.com/in/kaitengl1027/
- Darren Beattie: https://www.linkedin.com/in/dbeattie/
- Anisa Mohamed: https://www.linkedin.com/in/anisa-mohamed/
- Use the
npm run db:reset
command each time there is a change to the database schema or seeds.- It runs through each of the files, in order, and executes them against the database.
- Note: you will lose all newly created (test) data each time this is run, since the schema files will tend to
DROP
the tables and recreate them.
- Node 10.x or above
- NPM 5.x or above
- PG 6.x
This project is licensed under the LHL License