Creates docker-compose project environments with a web app development stack: ReactJS on the front end, Node express server backend, Redis server, and tests for both the front- and back-ends.
These instructions will get you a copy of the project up and running on your local machine for development purposes.
Install Docker, and Docker Compose on your development machine. You may need sudo/root rights to run docker commands (see here).
Double check that your Docker and Docker Compose installations are working:
docker version
...
docker-compose version
...
Clone this repo if you haven't already.
git clone https://github.com/danjl1100/bootstrap-react-redis.git
Run the create script.
cd bootstrap-react-redis
./create-project.sh
...
Enter the name of your new project, and let the script do the rest!
Enter project name (no capitals, no spaces): my-cool-app
Move the newly-created project to the desired location
mv my-cool-app ~/projects/
Finally, check out the available commands in the Makefile
.
cd ~/projects/my-cool-app
make help
...
This project is licensed under the GPL3 License - see the COPYING file for details.
The following sources greatly helped with creating this project.
- Twillo Tutorial on server proxy integration with ReactJS
- Hacker Noon Tutorial on using Docker Compose to run Node scripts