Bored? LEARN SOMETHING!
TinyLearn serves you one random subject to learn about a day. You can save your learns to keep on learnin' at a later time. With all the extra time we have nowadays, we hope TinyLearn can help make a big impact in your day.
This app uses MVC which includes a model, handlebars and a connection. Passport is used to make sure the user is logged in and can access certain pages associated with their account.
It uses sequelize to create a database and a seeder file for some pre-fed information.
Pull from this repository. Check dependencies and make sure to run npm i for all necessary- you will need:
- bcryptjs
- dotenv
- express
- express-handlebars
- express-session
- mysql2
- passport
- passport-local
- pg
- pg-hstore
- sequelize
Use sequelize to get the database running. Make sure to run the command "npx sequelize db:seed:all" to add seeds.
Please pay attention to the .env.sample file. You will need to create your own .env file with the same parameters and your OWN credentials to use this app.
Navigate to the correct folder in your command line. Once there, enter "node server.js" in the command line to get the app started.
Enter "localhost:8080" into your web browser to view the app.
None
Vinh Xiu Mao, Eric Purrington & Julie Ritz
None - use console.log if you need to troubleshoot something.
Reach out to us if you have any questions!