This is a barebone client for the the-wall-api
.
Demo: https://the-wall.fly.dev
This project mainly demonstrates API interaction and e2e test between the Client and the API.
To get project running locally with Docker, run
yarn docker:serve
# alias for "docker-compose -f docker-compose.local.yml up"
Install and run the the-wall-api
as well.
- Node.js
16.x
-
Install dependecies
npm install
-
Install and run the
the-wall-api
-
Set envs
export VITE_API_URL=https://localhost:3000` # match the url for the-wall-api # or via .env file or run "cp .env.example .env"
-
Start development server with watch mode
npm run dev
-
Start coding
Project uses the Cypress for End-to-End (E2E) tests. Tests are in cypress/e2e
directory.
To run e2e tests:
-
Serve the build
npm run build && npm run preview
-
Run the test suites
npm run test:e2e
Service is hosted in Fly.io.
Deployment is made to production via GitHub actions on push to main
branch.