This repo contains front-end source code.
For back-end repository click here.
Please Note:
- We recommend using this app in latest browser with javascript support.
- Try demo credentials if you not comfortable with Google SignIn OAuth.
- Payment Gateway is in test mode, so use
4111 1111 1111
as card no to continue.
Test Credentials:
- For Admin
- Admin Login Page Link
- Username: admin
- Password: admin
- For User/Lawyer
- Click on "Try as Demo" button
- Click on "Try as Demo" button
- Clone the repo
git clone https://github.com/pesto-students/check-if-legal-fe-n13-delta-3.git
- Set environment variables
REACT_APP_API_BASE_URL=https://api.checkiflegal.com/
REACT_APP_GOOGLE_CLIENT_ID=
-
Install NPM packages
npm install
-
Run
npm start
-
Open http://localhost:3000 to view it in the browser
-
Run Test cases
npm test
We tried to use a completely modern tech stack while testing out some new technologies that we had never used before. This resulted in a fast, performant, and easily-extensible web app that should be fairly future-proof for the coming next several years. We used:
- React JS
- TypeScript
- Chakra UI
- Axios
- Zustand (Client State)
- React Query (Server State)