Skip to content

An API that enables users to schedule sessions with business

Notifications You must be signed in to change notification settings

vbello-tech/SESSIONS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SESSIONS- A SESSION SCHEDULING API.

SESSIONS is a RESTful API that enables users to schedule sessions with business owners that has registered their business on our database. SESSIONS allows users who are business owners to create business with us with details such as location, opening time, closing time, business type etc. Users can schedule session with any registered business by sending a request of when (day and time) they would want the session to hold. SESSIONS as been configured to ensure that a business can not have more than one session at a particular time.

  • URL - not yet available
  • Documentaion - not yet available

Project Stack

  • Django
  • Django RestFramework
  • Django default db.sqlite3 Database

Installation

Here are the steps to install and set up the SESSIONS API project locally:

  1. Clone the repository: First, you will need to clone the Homemix repository to your local machine. This can be done using the following command in your terminal or command prompt:

    git clone https://github.com/your_user_name/SESSIONS.git
  2. Create a virtual environment: It is recommended to work with a virtual environment to keep the dependencies for this project separate from other projects on your system. To create a virtual environment, run the following command:

    python -m venv Sessions-env

    Activate the virtual environment by running the following command:

    source Sessions-env/bin/activate (for Mac or Linux)
    source Sessions-env\Scripts\activate (for Windows)
  3. Install dependencies: Next, you will need to install the dependencies required for the project. These dependencies are listed in the requirements.txt file. To install them, run the following command:

    pip install -r requirements.txt
  4. Set up the database: The Homemix API uses the Django ORM to interact with a database. By default, the project uses PostgreSQL as the database or you could use any database of your choice. Run these commands to make migrations:

    python manage.py makemigrations
    python manage.py migrate
  5. Create a superuser: To access the Django admin interface, you will need to create a superuser. You can do this by running the following command:

    python manage.py createsuperuser
  6. Run the development server: Once the installation and setup are complete, you can start the development server by running the following command:

    python manage.py runserver

The port for running the project is http://localhost:8000/.

About

An API that enables users to schedule sessions with business

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages