Giter VIP home page Giter VIP logo

swapi's Introduction

SWAPI

The Star Wars API

Source code for swapi.co

Contributing

Make sure your contribution isn't already a planned feature or has already been fixed by checking the issues first.

  1. Fork this project.

  2. Find an issue to fix or create a new issue if you want to propose a feature. Generally speaking, everyone wants features. I'm only going to merge features that have 2 or more +1, otherwise this project will fill up with lots of randomly stuff.

  3. Write your codez, make sure you add tests. Check out the "development" section below.

  4. Submit a descriptive pull request that is up to date with the master branch.

  5. We'll accept it and add it to production!

Development

Once you have downloaded the project, look at the Makefile to see a list of useful shortcut commands.

In order to get started run:

make install
make build
make load_data

To run the server locally run:

make serve

If you add new data then you can dump it out using the following command:

make dumpdata

To run tests:

make test

NOTE: pull requests will not be accepted if they do not pass tests or have no new tests for new features.

File structure

  • resources

All API resource models, serializers and schemas are found here.

  • swapi

All Django configuration, templates and static files are found here.

swapi's People

Contributors

phalt avatar philnash avatar videocard avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.