- Clone this repo
$ git clone https://github.com/yeganathan18/djanext.git
- Create a virtual environment inside
backend/
and activate it
$ cd backend
$ python3 -m venv venv
$ source venv/bin/activate
- Install the dependencies, run the migrations
$ pip install -r requirements.txt
$ python manage.py makemigrations
$ python manage.py migrate
- Start the django server
$ python manage.py runserver
- 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 ⭐️
Webapp - http://localhost:3000/
Django Admin panel - http://localhost:8000/api/admin
GraphiQL Playground - http://localhost:8000/api/graphql