This is a repository for the backend of a mobile application to streamline attendance management for events built with Django.
You can check the frontend part of this project via this link: Frontend
Before getting started, make sure you have the following installed:
Clone the project and install dependencies by following these steps:
# Clone the repository
git clone https://github.com/BoukaRayan/InCheck-Backend.git
# Navigate to the project directory
cd InCheck-Backend
# Install dependencies
pipenv install
# Activate the virtual environment
pipenv shellCreate a .env file in the root directory of the project using the following format:
SECRET_KEY=
DEBUG=
DB_NAME=
DB_USER=
DB_PASSWORD=
DB_HOST=
DB_PORT=
EMAIL_BACKEND=
EMAIL_HOST=
EMAIL_PORT=
EMAIL_USE_TLS=
EMAIL_HOST_USER=
EMAIL_HOST_PASSWORD=
DEFAULT_FROM_EMAIL=Ensure that the .env file contains the correct information for your MySQL database.
Apply migrations and start the server by following these steps:
# Apply migrations
python manage.py migrate
# Start the server
python manage.py runserverThe server will be accessible at http://127.0.0.1:8000/.
This project is licensed under the MIT License. See the LICENSE file for details.