Skip to content

CodeLuminary/lenkie

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 

Repository files navigation

lenkie

A complete booking website using MySql, express, sequelize, react and Node

Start Development

Kindly fork and clone the repo

Installation

FRONTEND INSTALLATION

cd or navigate to the frontend folder in your terminal and enter the following command

npm install

BACKEND INSTALLATION

cd or navigate to the backend folder in your terminal and enter the following command

npm install

Setup

Create a My Sql database

Create a .env file in the root directory of the backend folder and add the following properties

SECRET_KEY=?
DB_PASSWORD=?
DB_HOST=?
DB_USER=?
DB_DATABASE=?
TIME_ZONE=?
#Set timezone, put 1 if it's GMT+1 or -1 if it's GMT-1

EXAMPLE: 

SECRET_KEY=12345SSDD
DB_PASSWORD=password
DB_HOST=localhost
DB_USER=root
DB_DATABASE=lenkie
TIME_ZONE=1

STARTING PROJECT

STARTING FRONTEND PROJECT

cd to the frontend folder in your terminal and enter the following command

npm start

You can access the project in your browser by entering - localhost:3000;

You can also access the search page by entering - localhost:3000/search

STARTING BACKEND PROJECT

cd to the backend folder in your terminal and enter the following command

npm start

A default user will be created with the below information

    email: johndoe@lenkie.com
    password: password

🧠

🎩 Author

  • IJONI VICTOR 😁😁😁

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors