Skip to content

mMargalit/EZLA

 
 

Repository files navigation

EZLA Project

This project was created by Redis, and is managed on a voluntary basis.

If you would like to contribute, please send an email to guy.korland@redis.com.

Tasks are managed in this project: https://github.com/orgs/Ezer-Lachaim/projects/1, and discussions are done on the Google Spaces group.

Contributing

In order to contribute, please fork this repository, and create a pull request.

If you are unsure how to do this, please follow this guide: https://docs.github.com/en/get-started/quickstart/contributing-to-projects

Development

This is a monorepo using npm workspaces

Create local .env file with the following props

REDIS_HOST=127.0.0.1
REDIS_PORT=6379
GOOGLE_CLOUD_PROJECT=ezla-pickup
JWT_SECRET=DEV_SECRET
FIREBASE_AUTH_EMULATOR_HOST=127.0.0.1:9099

Run Firebase emulator and Redis locally

Install Firebase tools:

curl -sL firebase.tools | bash

Run Firebase auth emulator:

firebase emulators:start --only auth

Run redis-stack docker container locally:

docker run -p 6379:6379 redis/redis-stack:latest

Generating open api typescript client

npm run generate:api:client -w client

Start client

npm run dev:client

Start backend

npm run dev:backend

Create users for local dev

Call GET request to http://localhost:3000/dev/init(via Postman or CURL) which will create 3 users:

admin@test.com, Admin*1
driver@test.com, Driver*1
requester@test.com, Requester*1

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 56.1%
  • HTML 43.2%
  • Other 0.7%