This is a quiz application with user authentification
To view all users data from database /all HTTP Method: Get
To view a certain user data from database /all:id HTTP Method: Get
To sign in /signin HTTP Method: Post
To register /register HTTP Method: Post
To view an authorized user's (your) data /profile/:id HTTP Method: Get/Post
To view and update score /score HTTP Method: Put
To view API documentation /api-docs HTTP Method: GET
PERN Stack (Postgeres Express React Node)
bcrypt for hashing password
knex-js to connect database with the backend
particles-js for background
tachyons for styling
REST API
id
email
hash
1
syimyk@gmail.com
$2a$05$LhayLxezLhK1LhWvKxCyLOj0j1u.Kj0jZ0pEmm134uzrQlFvQJLF6
Instructions to build to Docker image
Clone repo
git clone https://github.com/beknazar001/frontend-awesome-cats.git
cd frontend-awesome-cats
Build a docker image with the tag name 'frontend'
docker build -t frontend .
Create a new repo in Docker Hub and Login to docker from CLI
Change docker image tag
docker tag frontend < docker-username> /< repo-name>
# If you'd like to add tag you can run
docker tag frontend < docker-username> /< repo-name> :tagname
Push your image to Docker Hub
docker push <docker-username>/<repo-name>:
After completing all of those steps above you would have a built docker image that you can use further as the usual docker image
"The only way to do great work is to love what you do."