This app uses React, Typescript, Shadcn, Zustand, Tanstack Query, Vite, Cypress, Binance API, AWS lambda, AWS dynamoDB, AWS api gateway, SAM.
Link : https://main.d2xcbwz138rr7q.amplifyapp.com/
-
Install Dependencies:
npm install
-
Start the Development Server
npm run dev
By default, the app will be available at http://localhost:5173.
- Run Unit Tests
npm run test
-
Ensure the Development Server is Running: Make sure the app is running at
http://localhost:5173
. If you need to change the base URL, update the baseUrl in the Cypress configuration file (cypress.config.js
) and the port invite.config.ts
. -
Run Cypress
npx cypress open
This will open the Cypress Test Runner where you can run your tests.
Cypress Configuration
If your app is not running at http://localhost:5173
, you need to update the baseUrl in the Cypress configuration file.
For example, in cypress.config.js
:
module.exports = {
e2e: {
baseUrl: 'http://localhost:5173',
},
};
Vite Configuration
If you need to change the port for the Vite development server, update the vite.config.js
file:
export default {
server: {
port: 5173,
},
};