Z-Games is a tiny board games portal.
The project consists of two main parts and several games modules:
There are two environments where you can check current versions:
Also, you can run a development environment on your local machine.
Please, select the option that suits you best:
NB: If you want to use docker (and docker-compose) please install it, else install node.js with npm.
Let's start!
1.1. Clone repositories:
git clone https://github.com/zinovik/z-games-api
git clone https://github.com/zinovik/z-games
1.2. Create .env file in each cloned repository (use .env.example for help).
1.3. Build containers and run it:
cd z-games
docker-compose up
That's it! Check front-end here: http://localhost:3000! Check back-end here: http://localhost:4000!
2.1. Clone repository:
git clone https://github.com/zinovik/z-games-api
2.2. Create .env file in the repository folder (use .env.example for help).
2.3. Build containers and run it:
cd z-games-api
docker-compose up
That's it! Check back-end here: http://localhost:4000!
3.1. Clone repository:
git clone https://github.com/zinovik/z-games-api
3.2. Enter in special folder and run docker database separately:
cd z-games-api
cd database_postgresql
docker-compose up
or
cd z-games-api
cd database_mongodb
docker-compose up
That's it!
4.1. Clone repository:
git clone https://github.com/zinovik/z-games-api
4.2. Create .env file in the repository folder (use .env.example for help).
4.3. Build container and run it:
cd z-games-api
docker build -t z-games-api .
docker run z-games-api
That's it! Check front-end here: http://localhost:3000!
5.1. Clone repository:
git clone https://github.com/zinovik/z-games
5.2. Create .env file in the repository folder (use .env.example for help).
5.3. Build container and run it:
cd z-games
docker build -t z-games .
docker run z-games
That's it! Check front-end here: http://localhost:3000!
6.1. Clone repositories you want to run:
git clone https://github.com/zinovik/z-games-api
or/and
git clone https://github.com/zinovik/z-games
6.2. Create .env file in each cloned repository (use .env.example for help).
6.3. Install all dependencies by running these commands for cloned repositories:
cd z-games-api
npm install
cd ..
or/and
cd z-games
npm install
cd ..
6.4. Then go to the folder and run part you want to run or both parts:
cd z-games-api
npm run start:dev
or/and
cd z-games
npm run start:dev
That's it! Check front-end here: http://localhost:3000! Check back-end here: http://localhost:4000!
P.S. If you want to change the separate game - clone it's repository! You can work with it using npm link command.
Please contribute using Github Flow. Create a branch, add commits, and open a pull request.
If you want to help check current issues on project board or create the new one in any project repository! Also, you can write any comment.
Thank you, Richard Caseres, for the amazing Logo!
USER
z-games.club (NameCheap)
|
|
|
Front-end (Netlify) <------------------------------------------------------------------- |
[ Components ] |
[ | ] |
[ Containers <---- | ] |
[ | | ] |
[ | ----> Actions | ] |
[ | | | ] |
[ | Reducers | ] |
[ | | | ] |
[ | Store -------> | ] |
[ | | ] |
[ | <----- Services ] ----- Back-end (Heroku) |
| [ Gateway/Controller ] |
| [ | ] |
| [ Service ] |
| [ | ] |
| [ Services ] ----> DataBase (Mongo) |
| | ----> Emails (SendGrid) |
| | ----> Authorization (Google) |
| | ----> Notifications (Firebase) ----> |
| |
- Modules (NPM) -
(z-games-no-thanks, z-games-perudo, z-games-lost-cities, z-games-six-nimmt, ...)
GAMES