Skip to content

A Django API to retrieve the content of the universe, including planets, stars, galaxies, and all other forms of matter and energy

Notifications You must be signed in to change notification settings

Spookywy/universe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Universe

A Django API to retrieve the content of the universe, including planets, stars, galaxies, and all other forms of matter and energy

Developement

Apply migrations:

python universe/manage.py migrate

Load the data (planets, stars, galaxies...):

python universe/manage.py loaddata db.json

Run server:

python universe/manage.py runserver

Dump data

Dump data:

python universe/manage.py dumpdata [apps name] --indent 2 > db.json
python universe/manage.py dumpdata common astronomical_object system --indent 2 > db.json

Docs

The documentation can be accessed at the root of the API: https://spookywy.pythonanywhere.com

About

A Django API to retrieve the content of the universe, including planets, stars, galaxies, and all other forms of matter and energy

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages