- Notifications
You must be signed in to change notification settings - Fork0
melhotiby/react-redux-express-postgresql
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
This repository contains a production ready template which includes the following
- React
- React Router
- Redux
- Redux Saga
- Redux Logger
- Ducks Modular Redux
- Express API
- Postgresql
- knex
- Ramda
- Docker
- NGINX
For initial setup you will need to:
Copy the server.env.example to.env
cp -n server/.env{.example,}Copy the serverdocker-compose.override.example.yml todocker-compose.override.yml for docker compose overrides
cp -n docker-compose.override{.example,}.ymlStart all the services with docker
docker-compose up --build
Create the new database table
docker-compose run --rm api yarn db:create
Migrate the database
docker-compose run --rm api yarn db:migrate
Seed the database
docker-compose run --rm api yarn db:seed
Running tests
docker-compose run --rm client yarntestSSH into elastic beanstalk and run commands
ssh -i docker.pem ec2-user@<PUBLIC_IP_ADDRESS>sudo sudocker psdockerexec -it<DOCKER_INSTANCE_FOR_elhotiby1/multi-server> docker-entrypoint.sh shyarn db:migrateyarn db:seed
Visitlocalhost:3000
About
Express/React/Redux/PostgreSQL Dockerized Fullstack application starter.
Topics
Resources
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
No releases published
Packages0
No packages published
Contributors2
Uh oh!
There was an error while loading.Please reload this page.