Giter Club home page Giter Club logo

django-test's Introduction

Django Pricing API

A base template for a simple Django based backend API

Features

  • Get Pricing
  • Create Pricing config

๐Ÿ—๏ธ Built With

๐Ÿงฉ Getting Started

To get a local copy up and running follow these simple steps.

Clone the repo

  1. Clone the repository using the following command
git clone https://github.com/Lunaticsatoshi/django-test.git
# After cloning, move into the directory having the project files using the change directory command
cd django-test

Starting the development server with docker ๐Ÿณ (Recommended)

Prerequisites

Make sure you have Docker and docker-compose installed on your machine.

Steps to start the server

Adding Docker support soon

Starting the development server without docker ๐Ÿ“ก

Prerequisites

Make sure you have Python installed on your machine.

NOTE:

The project was made with python version 3.10.

  1. Create a virtual environment using pipenv where all the required python packages will be installed
# Use this on Windows
py -m venv env
# Use this on Linux and Mac
python3 -m venv env
  1. Active venv
# Windows
env/bin/activate
# Linux and Mac
source ./env/bin/activate
  1. Install all the project Requirements
pip install -r requirements.txt

-Apply migrations and create your superuser (follow the prompts)

# create migrations
python manage.py makemigrations

# apply migrations and create your database
python manage.py migrate

# Create a user with manage.py
python manage.py createsuperuser
  1. Create Pricing config Open http://127.0.0.1:8000/admin to open the admin panel in the browser.

  2. Run the development server

# run django development server
python manage.py runserver

Visit http://127.0.0.1:8000/ to get the api routes

๐Ÿ” License

This project is licensed under the MIT License - see the LICENSE.md file for details

Suggestions and Bug Reports

Since this is an open source project all suggestions, requests and bug reports are always welcomed. If you have any don't forget to leave them in the issues section. But we recommend creating an issue or replying in a comment to let us know what you are working on first that way we don't overwrite each other.

django-test's People

Contributors

lunaticsatoshi avatar

Stargazers

 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.