Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mount-isaac/apis_development

APIs Development
https://github.com/mount-isaac/apis_development

api api-gateway api-rest context-manager cors-headers django django-framework django-project django-react-integration django-reactjs-postgres django-realworld-example-app django-rest-framework djangorestframework postgresql postgresql-database reactjs usecontext-hook

Last synced: 10 days ago
JSON representation

APIs Development

Awesome Lists containing this project

README

        

# A Complete Guide to Learning APIs Development

#### The application URL:
[https://apis-frontend-9e2044d5bb65.herokuapp.com](https://apis-frontend-9e2044d5bb65.herokuapp.com/)
```
DISCLAIMER: I am using Cloudinary to store the images.
Files will be deleted after 24 hours.
```

### Created User Endpoints web page
![user endpoints](images/posts_endpoints.jpg)

### View Post Page with its Actions
![View Post Page](images/view_post.jpg)

## Technologies Used
```
Python Programming Language (Python version > py 3.4)
Django
Django REST Framework
PostgreSQL
Simple JWT Tokens
ReactJS
Bootstrap
Context Manager(AuthContext)
Axios
FontAwesome icons
```

## Backend Setup
#### Clone the Repository -- HTTPS
```bash
git clone https://github.com/Mount-Isaac/APIs_Development.git
```

#### Clone the Repository -- SSH
```bash
git clone [email protected]:Mount-Isaac/APIs_Development.git
```
#### Clone the repository -- GitHub CLI
```bash
gh repo clone Mount-Isaac/APIs_Development
```
#### Install virtualenv library using pip
```bash
cd backend
pip install virtualenv
```

##### Create a Virtal Environment
```bash
virtualenv env
```

#### Windows OS activate virtual environment
```bash
env\Scripts\activate
```

#### UNIX OS activate virtual environment
```bash
source bin\activate
```

#### Install the requirements
```bash
pip install -r requirements.txt
```

start a shell/command prompt/powershell/terminal instance in the root

```bash
python manage.py runserver
```

## Frontend Setup
#### Install the requirements
Ensure Node manager is installed [https://nodejs.org/en](https://nodejs.org/en)

```bash
cd frontend
npm install
```

Start a shell/terminal/command prompt instance in this folder and run:

```bash
npm start
yarn start
```

#### Logged in user homepage
![Logged in user homepage](images/homepage.jpg)

#### User endpoints web page
![APIs endpoint](images/user_endpoints.jpg)

### Create user Endpoint API
![user endpoints](images/api_create_user.jpg)

Happy Learning :)