Skip to content

A simple Django React app to manage slot booking more effectively

License

Notifications You must be signed in to change notification settings

just-a-rookie-2001/Slot-Booking-System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Slot Booking System

Slots A simple Django React app to manage slot booking more effectively

Table of Contents

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. To deploy this type of app in production see this video

Prerequisites

Installation

Download this repository or clone it using git

git clone https://github.com/just-a-rookie-2001/Slot-Booking-System

Navigate into the repository

cd Slot-Booking-System

1. Database and SMTP server Configuration

  • Configure a postgres database before running the backend
  • Navigate to ./backend
  • Create a new .env file of the following format
# Django Configuration
export SECRET_KEY = "django secret key"


# Postgres Server Configuration (For database)
export NAME = "your database name"
export PASSWORD = "your database password"


# SMTP Server Configuration (For gmail)
export EMAIL_HOST_USER = "youremail@gmail.com"
export EMAIL_HOST_PASSWORD = "your email password"
  • Replace the details with your system credentials. NOTE: Make sure that everything is enclosed in " " or ' ' as shown above
  • To change other settings open ./djreact_sbs/settings.py

2. Backend Configuration

pip install pipenv

Then navigate to backend directory and launch virtual environment

cd backend
pipenv shell

Finally

python manage.py makemigrations
python manage.py migrate
python manage.py runserver

3. Frontend Configuration

Navigate to the frontend directory and install packages

cd frontend
npm install

Finally start the server

npm start

Built With

Authors

License

This project is licensed under the MIT License - see the LICENSE.md file for details

About

A simple Django React app to manage slot booking more effectively

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published