Skip to content

eric-purrington/TinyLearn

Repository files navigation

TinyLearn

Link

Live App

Description

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.

Table of Contents

Installation

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

Usage

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.

License

None

Contributors

Vinh Xiu Mao, Eric Purrington & Julie Ritz

Tests

None - use console.log if you need to troubleshoot something.

Questions

Reach out to us if you have any questions!

image

About

A microlearning app with some of my own modifications

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •