Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/amen-souissi/e2e-web-app-tutorial
end 2 end web app tutorla
https://github.com/amen-souissi/e2e-web-app-tutorial
apollo apollo-client apollo-server-express docker docker-compose expo graphql material-ui postgresql react-native reactjs redux smashtest subscriptions tutorial type-graphql typescript websocket
Last synced: about 2 months ago
JSON representation
end 2 end web app tutorla
- Host: GitHub
- URL: https://github.com/amen-souissi/e2e-web-app-tutorial
- Owner: amen-souissi
- License: gpl-3.0
- Created: 2019-07-21T11:10:15.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-03-03T04:27:03.000Z (almost 2 years ago)
- Last Synced: 2023-03-03T15:02:44.327Z (almost 2 years ago)
- Topics: apollo, apollo-client, apollo-server-express, docker, docker-compose, expo, graphql, material-ui, postgresql, react-native, reactjs, redux, smashtest, subscriptions, tutorial, type-graphql, typescript, websocket
- Language: TypeScript
- Size: 7.25 MB
- Stars: 1
- Watchers: 2
- Forks: 3
- Open Issues: 48
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Linux Docker permission
```bash
sudo groupadd docker
sudo usermod -aG docker \$USER
sudo setenforce 0
```# Bulid dev
```bash
sudo docker-compose build
cd bff
npm ci
cd ../front
npm ci
cd ..
sudo docker-compose -f docker-compose.yml up
```🚀 Server ready at http://localhost:3000
# Local network Linux
```bash
ifconfig -a // in the .env file => replace 127.0.0.1 by ex: 192.168.1.XX
sudo docker-compose -f docker-compose.yml up
```# Remove
```bash
docker-compose down -v
```# Start postgres
```bash
docker exec -it postgres psql -U
```# Dump DB
```bash
docker ps // postgres
docker exec pg_dump -U > dump\_`date +%d-%m-%Y*%H-%M-%S`.sql
```# Restor DB
```bash
docker ps // postgres
docker exec pg_restor -U -d < .sql
```