Skip to content

upluke/SeatMe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SeatMe

SeatMe is a Django-based web application that allows users to sign up for a waitlist at restaurants. The application utilizes PostgreSQL for database management and features a front-end built with React and Material UI.

Screen Shot 2024-08-25 at 9 28 20 PM

Screen Shot 2024-08-25 at 9 28 53 PM

Features

  • Waitlist Management: Add and track users on the restaurant waitlist.
  • Admin Interface: Manage users and reservations through Django's built-in admin interface.

Requirements

  • Python 3.11 or higher
  • Django 5.1
  • PostgreSQL 16
  • psycopg2-binary
    • Node.js (for front-end)

Installation

1. Clone the Repository

git clone https://github.com/yourusername/seatme.git
cd seatme

2. Set up a Virtual Enviroment

cd server
python3 -m venv env
source env/bin/activate  # On Windows use `env\Scripts\activate`

3. Install Backend Dependencies

Ensure your virtual environment is activated.

cd server/newproject
pip install -r requirements.txt

4. Apply Migrations

cd server/newproject
python3 manage.py migrate

7. Start the Django Development Server

python3 manage.py runserver

Access the Django REST UI at http://127.0.0.1:8000/api/bookings/

8. Set Up the Front-End

Navigate to the client directory:

cd client/app

8.1 Install Node.js Dependencies

npm instal

8.2 Start the React Development Server

npm run dev

Feel free to reach out at [email protected] if you encounter any issues during the setup process.