Website about vacational plans, made for learning purposes
Web site is hosted on HEROKU
- 👩 Silvia Pabón: https://github.com/SilviaPabon
- 👦 Pedro Chaparro: https://github.com/PedroChaparro
- Clone the repository:
git clone https://github.com/SilviaPabon/vacational_website
- Move into the cloned directory folder:
cd .\vacational_website\
- Change to dev (recommended) or deployment branch. Those are commonly the most up-to-date branches.
git checkout dev
- Install node dependencies:
npm i
-
Create your own MySQL database running
./src/database/DB.sql
script. The script creates the base tables and insert some data. -
Create your own .env file with the following fields:
FIELD | DESCRIPTION |
---|---|
DB_NAME | MySQL database (schema) name |
DB_HOST | MySQL host (It can be localhost) |
DB_PORT | MySQL port |
DB_USER | MYSQL user (It can be root) |
DB_PASSWORD | MySQL user password |
SE_SECRET | Node session secret. |
- Run dev script:
npm run dev
- Open localhost:3000 on your browser.