Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/azurespheredev/xttdab-admin-django
https://github.com/azurespheredev/xttdab-admin-django
django javascript pip python react react-ui
Last synced: 2 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/azurespheredev/xttdab-admin-django
- Owner: azurespheredev
- License: other
- Created: 2024-03-26T06:07:40.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-03-26T06:12:59.000Z (8 months ago)
- Last Synced: 2024-11-12T10:48:34.867Z (2 days ago)
- Topics: django, javascript, pip, python, react, react-ui
- Language: Python
- Homepage:
- Size: 19.9 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
README
> `Tests` (compatibility matrix)
### 👉 Set Environment
1. Install Python >= 3.7
2. Install NPM
| NodeJS | NPM | YARN |
| --- | --- | --- |
| `v14.0.0` | ❌ | ✅ |
| `v16.0.0` | ✅ | ✅ |
| `v18.0.0` | ❌ | ❌ |3. Run powershell.exe as administator and Execute follow command
Set-ExecutionPolicy RemoteSigned -Force### 👉 Start the Frontend
> **Step 1** - Once the project is downloaded, change the directory to `react-ui`.
```bash
$ cd frontend
```
> **Step 2** - Install dependencies via NPM or yarn
```bash
$ npm i --legacy-peer-deps
// OR
$ yarn
```
> **Step 3** - Start in development mode
```bash
$ npm run start
// OR
$ yarn start
```
At this point, the app is available in the browser `localhost:3000` (the default address).
### 👉 Start the Backend Server
> **Step 1** - Change the directory to `backend`
```bash
$ cd backend
```
> **Step 2** - Install dependencies using a `virtual environment`
```bash
# (Windows based systems)
$ python -m venv env
$ .\env\Scripts\activate.ps1$ pip install -r requirements.txt
```
> **Step 3** - Setup the database
```bash
$ python manage.py makemigrations
$ python manage.py migrate
```> **Step 4** - Start the API server (development mode)
```bash
$ python manage.py runserver 5000
```Use the API via `POSTMAN` or `Swagger Dashboard` at `localhost:5000`.