Skip to content

Kakar21/Coderr-Backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Coderr Backend

This is the backend part of the Coderr project, built with Django to run the freelance marketplace tool in the frontend.

Requirements

  • You need to have Python installed to run this project.

Getting Started

  1. Clone the Frontend and Backend Projects

    • Clone this backend project.
    • Clone the frontend project as well (find the frontend here).
  2. Create a Virtual Environment

    • In the project root, create a virtual environment:
      python -m venv env
    • Activate the virtual environment:
      • On Windows:
        env\Scripts\activate
      • On macOS/Linux:
        source env/bin/activate
  3. Install Dependencies

    • Install all the requirements listed in the requirements.txt file:
      pip install -r requirements.txt
  4. Set Up SECRET_KEY

    • You need a unique SECRET_KEY for your Django instance. Generate one by running:
      python
      from django.core.management.utils import get_random_secret_key
      print(get_random_secret_key())
    • Create a file named .env in the coderr_backend folder and add your generated key as follows:
      SECRET_KEY='your_generated_secret_key'
      
  5. Run Migrations

    • Apply migrations to set up the database:
      python manage.py makemigrations
      python manage.py migrate
  6. Start the Server

    • Start the Django server:
      python manage.py runserver
  7. Guest Login Setup

    • To enable guest login, create two guest users using the credentials provided in the frontend project.
    • For details on setting up the guest login, refer to the frontend README (available here).

You're Done!

Your backend server should now be up and running, ready to support the Coderr frontend. Enjoy exploring and customizing the project!

About

Backend of Coderr (IT Freelance Marketplace) ⚙️💼

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages