Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tedkulp/express-create-react-app-starter-pgsql
Starter project for create-react-app and express API server. Uses Docker for Mac and makes a lot of assumptions. PostgreSQL verison!
https://github.com/tedkulp/express-create-react-app-starter-pgsql
Last synced: 2 days ago
JSON representation
Starter project for create-react-app and express API server. Uses Docker for Mac and makes a lot of assumptions. PostgreSQL verison!
- Host: GitHub
- URL: https://github.com/tedkulp/express-create-react-app-starter-pgsql
- Owner: tedkulp
- Created: 2018-03-20T19:12:29.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-03-25T11:51:10.000Z (almost 7 years ago)
- Last Synced: 2024-11-14T10:41:27.594Z (2 months ago)
- Language: JavaScript
- Homepage:
- Size: 49.8 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Create React App & Express Starter
This is a starter project for creating a simple frontend/backend app w/ Express and React/Redux.
It makes a lot of assumptions as far as development environment:
* You're using Docker for Mac.
* You have node and yarn already setup and installed.
* You want to use Postgresql and Redis.The backend side is using a fixed set of packages. The frontend, however, does a fresh `yarn add` of all required
packages because everything is moving so fast at the moment.## Setup
Run the setup.sh script. This will
```bash
git clone https://github.com/tedkulp/express-create-react-app-starter.git my-project
cd my-project
./setup.sh
```This will do a yarn install to get create-react-app, create the frontend, and then yarn install
all the packages for the frontend as well.## Running
In the root directory, run `yarn dev`. This will create the docker containers and start them up
with docker-compose and also start another instance of the frontend so that code can be hot reloaded.## Deployment
TODO