The @Work5 Smart Calendar Tool is a full-featured calendar application with both frontend and backend components. This tool allows users to manage events and schedules efficiently. The application is built with a React frontend and a Django backend.
To start the frontend locally, you need to build the dist folder first and then start the development server.
- Install all the dependencies with
yarn - Building the frontend for production is crucial before starting the backend server to prevent crashes with
yarn build, this results in adistfolder
This step is necessary due to the configuration in settings.py for STATICFILES_DIRS.
- Python 3.8.12: Ensure you have Python 3.8.12 installed. You can verify the installation by running:
python --version - Pipenv: Make sure Pipenv is installed and properly set up in your PATH. For more information, see the handy links.
- Django
- Black: Use Black for code formatting. Link
Run the following command: pip install -r requirements.txt
- Activate your virtual environment first with
pipenv shellfrom your root folder - Run one of the 2 following commands from the backend folder:
python manage.py seed_data - Run
python manage.py runserver
You first need to login on the admin panel before you can test the API endpoints.
Username: [email protected] (after seeding) Password: admin
Python 3.8.12 Pipenv installation Black formatter BVSC - Python formatting