Write stories with friends.
This is repo only contains the frontend of CoopStories, you can find the backend here.
- NodeJS > v16.13.2
- Yarn
- Backend running
# Install dependencies
yarn install
# Set environment variables
cp .env.example .env
# Start frontend
yarn start
# Open your browser on localhost:3000
The app is built using Docker. To run the frontend in production follow the steps bellow.
# 1. Build the image (specify your own BACKEND_URL)
docker build --build-arg BACKEND_URL=https://{BACKEND_URL} -t coopstories/frontend .
# 2. Start a container from this image
docker run -p 80:80 --name coopstories_frontend coopstories/frontend
# 3. The frontend is available at localhost:80
This only runs the frontend, for the backend you still need to do more stuff. See backend deployment section.
This project was made for educational purposes, I wanted to try some new technologies such as:
- The combination of TS and React
- TailwindCSS
- GraphQL (urql as client)
- Wouter as an alternative to React-Router
If you find anything that could be improved feel free to open an issue in this same repo.