QuAPI is a simple, lightweight, and fast API for querying, manipulating, and analyzing data. It is designed to be used fast in development and production environments; with better DX [Developer Experience].
- Add a generator for creating new controllers
- Restrict or allow certain methods for a controller
- Add a feature for tweaking URL/routes; for example, developers can
send / to
home.indexorhome.myappcontroller. - Add a feature for tweaking the default controller
- Add a feature for tweaking paths
- Dynamic routing; /users/:id
- Add support for more databases; ORM
- Add a generator for creating new models
- Add authentication and authorization abilities; as decorators
- Add testing abilities and environment
- Git clone this repository
- Install dependencies;
pip install -r requirements.txt - Run
./core/generate.py -c <controller_name> <action_name>to generate a new controller - Add a
getfunction [or your preferred method] in thecontrollers/<controller_name>.pyfile - Add
<controller_name>to theroutes.yamlfile - Run
make startto start the server in the project directory; - Open your browser and go to
localhost:8080/<controller_name>/<action_name>
- Create a
index.pyfile incontrollers/<controller_name>/directory - Add a
getfunction [or your preferred method] in thecontrollers/<controller_name>.pyfile - Add
<controller_name>to theroutes.yamlfile - Run
./core/server.pyto start the server in the project directory; be sure you are in the project directory - Open your browser and go to
localhost:8080/<controller_name>/
- Create a controller with its action and method; for example,
home.index - Add
home.indexto theroutes.yamlfile; asroot: home.indexon the first line - Run
./core/server.pyto start the server in the project directory; be sure you are in the project directory - Open your browser and go to
localhost:8080/ - You can also use
/home/indexas URL
- Fork this repository
- Make changes
- Create a pull request
- Wait for review
- Merge
- Celebrate 🎉
- Repeat 🔁
BSD 3-Clause License