GithubHelp home page GithubHelp logo

faaktap / django-react-sqlite-smartdelivery-app Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ricardogesteves/django-react-sqlite-smartdelivery-app

0.0 0.0 0.0 451 KB

front to back project with Django, Django-Rest-Framework, React, Sqlite, Sass (For my delivery app project)

JavaScript 80.88% Python 10.34% HTML 0.91% SCSS 7.87%

django-react-sqlite-smartdelivery-app's Introduction

This is a full ready to use front to back project(backend, dataBase, API, frontend)

Its a web app for a delivery company, you can't use this project for commercial or profitable use!

This is my own project, so if you have some positive critics or ideas I would like to hear about it.

It have a lot of things to be improved.

Requirements for running SmartDelivery

First, you need to run react (frontend) and Server (backend) on different shells.

To run django Server and restframework(API):

  • Install python
  • Next cd folder backend
  • Create a virtual environment: virtual virtualenv env
  • Enabling the virtual environment env / Scripts / activate source OR source env/Scripts/activate
  • pip install -r requirements.txt
  • python manage.py makemigrations
  • python manage.py migrate
  • python manage.py createsuperuser
  • run the command python manage.py runserver
  • localhost: 8000 / admin -> access to django
  • Login admin through: username: username that you selected when creating super user password: password that you selected when creating super user
  • To access the api just put "/ api" in the url, it is necessary to have the login done. Ex: localhost: 8000 / api
  • Also create a .txt file for example to host your SECRET_KEY

To run react:

  • Install nodejs (if not)
  • Install the npm packages in the gui folder (through the command: npm i or npm install)
  • To see the project frontend run the npm start command, it will open in localhost: 3000

PS: the css is really bad i know, and outdated but was done fast and without any structure with the idea to be changed in the future!

django-react-sqlite-smartdelivery-app's People

Contributors

dependabot[bot] avatar renovate[bot] avatar ricardogesteves 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.