EduPapersKe / EduPapersAPI

This RESTful API, crafted with Django, functions as the project's backend infrastructure.
https://edupapers.org
Apache License 2.0
4 stars 0 forks source link
django django-rest-framework docker open-source postgresql python

EduPapersAPI

EduPapersAPI is a Django-based RESTful API which functions as the project's backend infrastructure.

There are two main ways to contribute to this project:
1: Suggest features or functionality in the discussions:

2: Contribute by writing code:

How to?

Take me to the documentation.

Running the project locally

Clone the Repository

1: Open your command prompt or terminal.
2: Navigate to your preferred directory and clone the repository using the following command:

  git clone git@github.com/EduPapersKe/EduPapersAPI.git

Set up Virtual Environment

3: Navigate into the project root directory named EduPapersAPI:

   cd EduPapersAPI

4: Create a virtual environment and activate it following the instructions for your operating system (Windows or Linux/macOS).

   python -m venv <environment_name>

5: Activate the virtual environment with this command:

Configure Environment Variables

7: Create a new file in the root directory and name it .env. Note: The .env file should not be committed to version control. Copy the contents from .env.example and assign the fields the necessary secrets.

Database Migrations

8: Run the following commands to create and apply database migrations:

   python manage.py makemigrations
   python manage.py migrate

Start the Development Server

9: Run the application with this command:

   python manage.py runserver
With that out of the way, you can proceed to the documentation. Happy building!