added Login function.
Also added user table but insecure. (In the next time, going to secure the get all users.) Also noted out the react frontend from the docker compose file - just for development purposes. I have also created some utils to logout the user and to get all users.
This commit is contained in:
@@ -1,15 +1,15 @@
|
||||
services:
|
||||
react-frontend:
|
||||
container_name: bikelane-frontend_react
|
||||
build: ./client
|
||||
ports:
|
||||
- "5001:5001"
|
||||
environment:
|
||||
- CHOKIDAR_USEPOLLING=true
|
||||
volumes:
|
||||
- ./client:/app
|
||||
- /app/node_modules
|
||||
restart: unless-stopped
|
||||
# react-frontend:
|
||||
# container_name: bikelane-frontend_react
|
||||
# build: ./client
|
||||
# ports:
|
||||
# - "5001:5001"
|
||||
# environment:
|
||||
# - CHOKIDAR_USEPOLLING=true
|
||||
# volumes:
|
||||
# - ./client:/app
|
||||
# - /app/node_modules
|
||||
# restart: unless-stopped
|
||||
|
||||
bikelane-backend:
|
||||
container_name: bikelane-backend_express
|
||||
|
Reference in New Issue
Block a user