Skip to content

This is a small application which can do CRUD[ Create ,Read , Update , Delete ] Functions And can be dockerized

Notifications You must be signed in to change notification settings

Zoronium/Crud-Application

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

RESTturant - A CRUD REST api Project

This project is a simple CRUD REST API project

this project is consists of :-

more on them in there links BackEnd DJANGO

more on them in there links FrontEnd React.js

click here for installation ➡ Installation

CRUD -CREATE , READ , UPDATE AND DELETE

In computer programming, create, read, update, and delete are the four basic operations of persistent storage.

REST

Representational state transfer is a software architectural style that describes a uniform interface between decoupled components in the Internet in a Client-Server architecture

API

Application Programming Interface, which is a software intermediary that allows two applications to talk to each other.

INSTALLATIONS

  1. For Django-Backend API server

    1. Firstly Add a .env file as its needed by the Docker use .env.sample
    cd restaurant-api/
    touch .env
    cat .env.sample >> .env
    1. You can use the docker compose command to fire up a container below cmd 👇🏻
    docker compose -f "restaurant-api\docker-compose.yaml" up -d --build
    1. Standalone test server for testing or small production for virtual enviorment
    cd restaurant-api/
    python3 -m venv .venv
    source ./venv/bin/activate

    install and runing server

    pip install --upgrade pip
    pip install --no-cache-dir -r requirements.txt
    python3 manage.py makemigrations
    python3 manage.py migrate
    python3 manage.py runserver
  2. For Front end Devlopment

    1. use Docker to get the best and error free install
    docker compose -f "restaurant-menu-front\docker-compose.yaml" up -d --build
    1. for testing and small props.
    npm i
    npm start

About

This is a small application which can do CRUD[ Create ,Read , Update , Delete ] Functions And can be dockerized

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published