This full stack application is a fictional tech blog, allowing users to log in and create and delete posts and comments.
-
To install,
git clone
the repository and runnpm install
to install dependencies. -
Create a .env file and structure it as described in .env.EXAMPLE, including your own MYSQL connection info and secret.
-
You must have MYSQL installed on your computer to use this application. Open up a connection to MYSQL in the root directory and run
source db/schema.sql
to create the database. -
npm start
will open a database connection and start the server, which can then be accessed in a browser at the appropriate host.
The site is also viewable here. The MYSQL instance is hosted on Amazon RDS and the app server is hosted on Render.
This app uses:
- Handlebars as a template engine
- Express
- Node
- MYSQL
- Sequelize ORM
- Render for deployment
- Amazon RDS