GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - scanapi/demo-api: This repo is only for demo purposes

BranchesTags
Open more actions menu

Latest commit

 

History

84 Commits
84 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
api
api
 
 
demo
demo
 
 
snippets
snippets
 
 
.deepsource.toml
.deepsource.toml
 
 
.dockerignore
.dockerignore
 
 
.gitignore
.gitignore
 
 
CODE_OF_CONDUCT.md
CODE_OF_CONDUCT.md
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
Dockerfile
Dockerfile
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
fly.toml
fly.toml
 
 
manage.py
manage.py
 
 
requirements.txt
requirements.txt
 
 
runtime.txt
runtime.txt
 
 

Repository files navigation

Demo API

This is an API built only for demo purposes of ScanAPI. It can be accessed at https://demo.scanapi.dev/.

Development

How to run demo-api locally

The setup process's prerequisites are Python 3.6+, pip and git installed in your system.

  1. Fork scanapi/demo-api
  • Fork a repo in your github account such as you get yourusername/demo-api. Now that you own a copy of the repo, you can easily clone the repo with the command below so that you can start making changes to the repo.
git clone https://github.com/<your username>/demo-api.git
  1. Create and activate a new virtual environment
  • For creating virtual environment we are using the method mentioned in the Python documentation.
python3 -m venv DemoAPI
source DemoAPI/bin/activate
  • Feel free to use any other library like virtualenv or virtualenvwrapper for creating a new environment if you have any other prefrences.
  1. Install the demo-api dependencies
cd demo-api
pip install -r requirements.txt
  1. Make migrations and run the demo-api
python manage.py migrate
python manage.py runserver
  • If everything runs smoothly without any errors you should see the API live at http://127.0.0.1:8000/. Feel free to create an issue if run into problems while setting up the project.

Deployment

Currently the demo-api is hosted on Fly.io. Whenever any branch is merged into the main branch a new deployment is triggered at demo.scanapi.dev via GitHub Actions

You can check the status/activity log of the current deployment as well as the past ones here.

About

This repo is only for demo purposes

demo.scanapi.dev/

Topics

apicumbucadevdemodemo-apidjangodjango-rest-frameworkscanapi

Resources

Readme
MIT license

Code of conduct

Code of conduct

Contributing

Contributing
Activity
Custom properties

Stars

4 stars

Watchers

13 watching

Forks

2 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.