Web-app on JS with Python JSON-RPC API
Form | Side | Stack | Language | Path |
---|---|---|---|---|
API | Back-end | FastAPI | Python | api/ |
Web app | Front-end | React | JavaScript | web/ |
Telegram bot | Back-end | AIOGram | Python | tg/ |
iOS | Front-end | React Native | JavaScript | planned |
Android | Front-end | React Native | JavaScript | planned |
Side | Logo | Technology | Version |
---|---|---|---|
DevOps | ![]() |
![]() |
20.10.8 |
![]() |
![]() |
1.19.6 | |
![]() |
![]() |
||
Back-end | ![]() |
![]() |
3.9.1 |
![]() |
![]() |
0.63.0 | |
![]() |
![]() |
4.4.2 | |
![]() |
![]() |
||
Front-end | ![]() |
node 15.5.1 | |
![]() |
![]() |
16.14.0 | |
![]() |
![]() |
4.0.5 | |
![]() |
![]() |
4.1.3 | |
![]() |
![]() |
5 |
-
Customize file
docker/.env
&Makefile
-
Run
make run
- Open
Go to http://localhost/
-
Customize file
docker/.env
&Makefile
-
Create encryption keys
cd docker/
chmod 777 cert.sh
./cert.sh
- Run Docker Compose
docker-compose -f docker-compose.alone.yml -p web up --build
(your project name instead of web
)
- Open
Go to https://web.kosyachniy.com/
(your link)
-
Customize files
docker/.env
&Makefile
-
Run Docker Compose
cd docker/
docker-compose -f docker-compose.prod.yml -p web up --build
(your project name instead of web
)
- Set up NGINX using docker/server/nginx.server.conf (if not done)
More: SERVER.md
- Open
Go to https://web.kosyachniy.com/
(your link)
- Change folder
cd api/
-
Customize file
sets.json
-
Virtual environment
python3 -m venv env
env/bin/pip install -r requirements.txt
- Run
env/bin/uvicorn app:app --host 0.0.0.0 --port 5000 --proxy-headers --reload
- Change folder
cd web/
-
Customize file
src/sets.json
-
Virtual environment
npm install
- Run
npm start
npm run build
serve -s build -p 3000