Skip to content

Latest commit

 

History

History
48 lines (34 loc) · 1.04 KB

DEVELOPERS.md

File metadata and controls

48 lines (34 loc) · 1.04 KB

Setting up the boiler-plate

How to start the dev server

  1. Clone this repo
$ git clone https://github.com/yeganathan18/djanext.git
  1. Create a virtual environment inside backend/ and activate it
$ cd backend
$ python3 -m venv venv
$ source venv/bin/activate
  1. Install the dependencies, run the migrations
$ pip install -r requirements.txt
$ python manage.py makemigrations
$ python manage.py migrate
  1. Start the django server
$ python manage.py runserver
  1. Open another terminal and start the nextjs server
$ yarn install
$ yarn dev

Now you are ready to go! If you like this boilerplate, please give it a star ⭐️

Navigation

Webapp - http://localhost:3000/

Django Admin panel - http://localhost:8000/api/admin

GraphiQL Playground - http://localhost:8000/api/graphql