Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sumanthratna/practica-api
A RESTful API for fetching sentences from the Spanish sentence generator at https://www.123teachme.com/.
https://github.com/sumanthratna/practica-api
api django django-rest-framework english rest-api spanish
Last synced: 22 days ago
JSON representation
A RESTful API for fetching sentences from the Spanish sentence generator at https://www.123teachme.com/.
- Host: GitHub
- URL: https://github.com/sumanthratna/practica-api
- Owner: sumanthratna
- Created: 2019-05-27T02:08:34.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-13T10:01:04.000Z (almost 2 years ago)
- Last Synced: 2024-10-30T14:09:26.586Z (2 months ago)
- Topics: api, django, django-rest-framework, english, rest-api, spanish
- Language: Python
- Homepage: https://practica-api.sites.tjhsst.edu
- Size: 96.7 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 23
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# practica-api
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/40de1c4030584dea97eefaf17cf75e3b)](https://app.codacy.com/app/sumanthratna/practica-api?utm_source=github.com&utm_medium=referral&utm_content=sumanthratna/practica-api&utm_campaign=Badge_Grade_Dashboard) [![Build Status](https://travis-ci.com/sumanthratna/practica-api.svg?branch=master)](https://travis-ci.com/sumanthratna/practica-api)
Your code should have the following structure:
├── run.sh
├── private
│ ├── ...
└── public
├──`run.sh` should have the following contents (on [Director](https://director.tjhsst.edu/), `run.sh` starts at `public/`):
```sh
#!/bin/sh# This assumes you've created a virtual environment and installed Gunicorn
source venv/bin/activate
python manage.py collectstatic --no-input
gunicorn --bind $HOST:$PORT --workers 1 'practica_api.wsgi:application'
```