Skip to content

sayakongit/drf-resume-api

Repository files navigation

Resume-API

A CRUD api built with django rest framework

Setup

To get this repository, run the following command inside your git enabled terminal

$ git clone https://github.com/sayakongit/drf-resume-api.git

You will need django to be installed in you computer to run this app. Head over to https://www.djangoproject.com/download/ for the download guide

Create and activate your virtual environment (use whatever you want, I'm using virtualenv for this one), and install the requirements.

```shell
$ pip install -r requirements.txt
```

Once you have downloaded django, go to the cloned repo directory and run the following command

$ python manage.py makemigrations

This will create all the migrations file (database migrations) required to run this App.

Now, to apply this migrations run the following command

$ python manage.py migrate

One last step and then our todo App will be live. We need to create an admin user to run this App. On the terminal, type the following command and provide username, password and email for the admin user

$ python manage.py createsuperuser

That was pretty simple, right? Now let's make the App live. We just need to start the server now and then we can start using our simple todo App. Start the server by following command

$ python manage.py runserver

Once the server is hosted, head over to the 🚀 Postman Collection File for the testing all the APIs.

Cheers! :)

About

A CRUD api made with Django Rest Framework

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages