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

https://github.com/rudrakshi99/stackoverflow-api


https://github.com/rudrakshi99/stackoverflow-api

aws-ec2 beautifulsoup4 django-rest-framework ngnix postgresql stackoverflow-api token-authetication

Last synced: about 2 months ago
JSON representation

Awesome Lists containing this project

README

        

# StackoverFlow-Api

It is a stackoverflow api made by scraping the stackoverflow website using beautiful soup.

## Technology Stack to be used:

[![View in Swagger](http://jessemillar.github.io/view-in-swagger-button/button.svg)](http://13.59.73.71/swagger/)
[![Run in Postman](https://run.pstmn.io/button.svg)](https://documenter.getpostman.com/view/14143990/Tzz8rGvb)

- **Backend**: Django Rest Framework
- **IDE**: VS Code
- **API Testing & Documentation:** Swagger
- **Version Control**: Git and GitHub
- **Database**: PostgreSQL
- **Hosting** - AWS EC2

### Backend Setup Instructions

- Fork and Clone the repo using
```
$ git clone https://github.com/rudrakshi99/StackoverFlow-Api.git
```
- Setup Virtual environment
```
$ python3 -m venv env
```
- Activate the virtual environment
```
$ source env/bin/activate
```
- Install dependencies using
```
$ pip3 install -r requirements.txt
```
- Make migrations using
```
$ python3 manage.py makemigrations
```
- Migrate Database
```
$ python3 manage.py migrate
```
- Create a superuser
```
$ python3 manage.py createsuperuser
```
- Run server using
```
$ python3 manage.py runserver
```