/Large

Blogging platform for video game enthusiasts.

Primary LanguageJavaScript

Large

Large is a clone of Medium, a blogging platform for video game enthusiasts. Here you are able to make an account and blog about recent games as well as comment on blogs.

Technologies

This app makes use of the following technologies:

  • Express.js
  • Pug
  • Javascript
  • Sequelize
  • PostgreSQL

Setup

  1. Clone this repository
git clone git@github.com:masontaylor7/Large.git
  1. Change directories into Large
  2. Install dependencies
npm install
  1. In psql, create a PostgreSQL user with a password and CREATEDB privileges
  2. Create .env file using the .envexample as a guide.
  3. Use the newly created user and password for the DB_USERNAME and DB_PASSWORD fields.
  4. Enter a name for your database in the DB_DATABASE field.
  5. Create a session secret for the SESSION_SECRET field.
  6. For DB_HOST, use localhost, and assign a port.
  7. Use sequelize to create the database.
npx dotenv sequelize db:create
  1. Run all migrations.
npx dotenv sequelize db:migrate
  1. Seed the database.
npx dotenv sequelize db:seed:all
  1. Run npm start.
  2. Navigate to localhost in your browser, specifying the port you used in your .env file.

Screenshots

This is the splash page for the app that users see when they navigate to the site. image This is the form for creating a post. image When users click the comments icon on a post, a comments sidebar appears. image