Skip to content

ramitsarkar902/virtucart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

99 Commits
 
 
 
 
 
 

Repository files navigation

VirtuCart

Author

Ramit Sarkar

Description

VirtuCart is an e-commerce and billing application.

Technologies Used

Frontend

  • ReactJS
  • TypeScript
  • Redux
  • TailwindCSS
  • Material UI

Backend

  • Node.js
  • Express.js
  • MongoDB
  • Jest

Getting Started

To run this project locally, you'll need to follow these steps:

  1. Clone the repository to your local machine:
git clone https://github.com/ramitsarkar902/virtucart.git
  1. Install the required dependencies for both the frontend and backend:
cd virtucart/client
yarn install

cd ../server
yarn install
  1. Create a .env file in the server directory and add the following:
MONGODB_URI=<your_mongodb_uri>

Replace <your_mongodb_uri> with your actual MongoDB Atlas connection string.

Running the Application

Frontend

To run the frontend locally, use the following command:

cd client
yarn dev

This will start the React development server.

Backend

To run the backend locally, use the following command:

cd server
yarn start

This will start the Node.js server.

Testing

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

Server Information

The server is hosted at Cyclic.sh. The API URL is encoded in the .env file of the client application.

Website

The live version of the website can be found at https://virtuecart.vercel.app/.

For testing purpose on the live website, login using the credentials

Password - 1234

Additional Information

License

This project is licensed under the MIT License.

Releases

No releases published

Packages

No packages published