Skip to content

NguyenDoan85/Resort---Project-2

Repository files navigation

Project for Thai Hoa Mui Ne Resort Using mySQL, Sequalize, Bcrypt, MVC, Nodejs, dotenv, and Express

Table of Contents

Description

🔍 A Full-Stack website for Thai Hoa Mui Ne Resort.

Heroku link

Thai Hoa Mui Ne Resort

User Story

  • AS A developer who writes about tech
  • I WANT a CMS-style blog site
  • SO THAT I can publish articles, blog posts, and my thoughts and opinions

Acceptance Criteria

  • 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).

Installation

  • 💾Clone the repo and use command npm install to install all require packages.
  • 💾Edit the .evn.EXAMPLE file to your configurator, then rename it to .evn.

Usage

  • Login to your mysql to run source db/schema.sql in db sub folder which will create an e-commerce database. Warning this will drop your current e-commerce database if you already have one.
  • Then run source db/seeds.sql in seeds subfolder to create basic database structure.
  • Run the following command at the root of your project and answer the prompted questions:
    npm start

License

✏️ This project is license under MIT

Contributing

Please refer to "Fork" or be assigned by Owner.

Questions

If you have any questions about this project, please contact me directly at ericdoan2008@gmail.com. You can vi

About

A resort website that let user to view and book their get away!

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 5