🔍 A Travel Blog made using node.js, express.js, mySQL, Sequelize ORM and handlebars.js that allows users add places they have been and to write about their experiences
As person who likes to travel, I want to track my places traveled, add what I did in these places, and see other peoples experience in that destination and in others.
Use Node.js and Express.js to create a RESTful API.
Use Handlebars.js as the templating engine.
Use MySQL and the Sequelize ORM for the database.
Have both GET and POST routes for retrieving and adding new data.
Be deployed using Heroku (with data).
Use at least one new library, package, or technology that we haven’t discussed.
Have a polished UI.
Be responsive.
Be interactive (i.e., accept and respond to user input).
Have a folder structure that meets the MVC paradigm.
Include authentication (express-session and cookies).
Protect API keys and sensitive information with environment variables.
Have a clean repository that meets quality coding standards (file structure, naming conventions, follows best practices for class/id naming conventions, indentation, quality comments, etc.).
Have a quality README (with unique name, description, technologies used, screenshot, and link to deployed application).
💾
npm init
npm install
Dependencies: express, express-handlebars, express-session, mysql2, sequelize, nodemon, dotenv, connect-session-sequelize, bcrypt, Esri Leaflet Geocoder
💻
Run the following command at the root of your project and answer the prompted questions:
mysql -u root -p
Enter your password when prompted
source db/schema.sql
quit
npm start
💻
https://voyage-d71d026c4a0e.herokuapp.com/
✉️ Contact us with any questions ❓: