Skip to content

A reservations web application using vanilla javascript, html, nodejs with express and sql.

Notifications You must be signed in to change notification settings

Tryferos/Reservations

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stadium Booking

This project was made as a part of a personal project. The goal of this project is to learn session management, mysql integration to nodejs and custom made server side handling.

⚙ Features

  • Log in as a normal user or a merchant.
  • Store the session as a cookie.
  • View and book available stadiums.
  • View details about each stadiums such as available time slots.
  • Add your own stadiums, if you are a merchant.

🔎 Tech Stack

Client: Written in Vanilla - Javascript, HTML, CSS, XHR.

Server: Written in Typescript with Node.js - Modular, Express.js, MySQL.

🎞 Deployment

In order to run this repo, you will need:

🎨 Run Locally

Clone the project

  git clone https://github.com/Tryferos/Reservations

Go to the project directory

  cd my-project

Make sure you have nodejs installed.

Install all dependencies

  npm i

Start the server

  npm run start

🔐 Environment Variables

To run this project, you will need to add the following environment variables to your .env.local file

MySQL Database credentials:

DB_PASSWORD DB_USER DB_HOST DB_PORT

About

A reservations web application using vanilla javascript, html, nodejs with express and sql.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published