Ambitiont109 / SimpliFiedERP

next.js, tailwindcss, notification, django restframework, authentication

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Smplified ERP Item Management System

Simple Item Management System that can Create, Update, Delete, Sort, Filter, and Search.

Used

  • django-restframework, django-filter in backend.
  • notistack for notification in frontend
  • tailwindcss for mobile responsive

Created Reusable Component

  • Form, Input components with react-hook-form
  • PaginationButton, SearchInput, SortButton, MultiRangeSlider components with tailwindcss

Screen shots

SignIn List Edit


Features

  • Dockerized Django backend .
  • Dockerized Next.js frontend.
  • One-command setup and launch with docker-compose.

Installation and Setup

Prerequisites:

  • Ensure Docker and docker-compose are installed on your machine.

Steps:

  1. Clone the repository:
    git clone https://github.com/Ambitiont109/SimpliFiedERP.git
  2. Navigate to the project directory:
    cd SimpliFiedERP
  3. Build and run the project using docker-compose::
    docker-compose up -d
    

Usage

Run Pytest:

Check if backend pass all the test.

docker-compose exec server pytest

Running Project:

Once you've followed the installation steps, the Django server and Next.js frontend should be up and running. Access the frontend at http://localhost:3000 and the backend API (if exposed) at http://localhost:8000.

Running Migrations

To apply Django migrations:

docker-compose exec server python manage.py migrate

Creating Superuser:

To create a Django superuser for the admin site:

docker-compose exec server python manage.py createsuperuser

Loading Fixture Data:

To load the fixture data to initiate the Item data:

docker-compose exec server python manage.py loaddata items/fixtures/item_model_fixture.json

About

next.js, tailwindcss, notification, django restframework, authentication


Languages

Language:JavaScript 73.5%Language:Python 21.9%Language:CSS 3.3%Language:Dockerfile 1.3%