Ramit Sarkar
VirtuCart is an e-commerce and billing application.
- ReactJS
- TypeScript
- Redux
- TailwindCSS
- Material UI
- Node.js
- Express.js
- MongoDB
- Jest
To run this project locally, you'll need to follow these steps:
- Clone the repository to your local machine:
git clone https://github.com/ramitsarkar902/virtucart.git
- Install the required dependencies for both the frontend and backend:
cd virtucart/client
yarn install
cd ../server
yarn install
- Create a
.env
file in theserver
directory and add the following:
MONGODB_URI=<your_mongodb_uri>
Replace <your_mongodb_uri>
with your actual MongoDB Atlas connection string.
To run the frontend locally, use the following command:
cd client
yarn dev
This will start the React development server.
To run the backend locally, use the following command:
cd server
yarn start
This will start the Node.js server.
Server unit tests are located in the server/test
folder and are created using Jest.
To run the tests, use the following command:
cd server
yarn run test
The server is hosted at Cyclic.sh. The API URL is encoded in the .env
file of the client application.
The live version of the website can be found at https://virtuecart.vercel.app/.
Email - [email protected]
- Server Port: 9000
- Server API URL: http://localhost:9000/api/
This project is licensed under the MIT License.