This is an e-commerce project created with NestJS for the backend and Angular for the frontend. The purpose of this project is to provide a simple and easy-to-use e-commerce platform that can be customized to fit the needs of different businesses.
Installation Usage Contributing License Installation To get started with this project, you will need to have Node.js and npm installed on your machine. Once you have those installed, follow these steps:
Clone this repository to your local machine using the command git clone https://github.com/lorentsinani/ssh-2023.git. Navigate to the project directory using the command cd e-commerce-project. Install the project dependencies using the command npm install.
To start the application, you will need to run both the backend and frontend servers.
Running the Backend Server To run the backend server, follow these steps:
Navigate to the backend directory using the command cd backend. Create a new file called .env and set the following environment variables: makefile Copy code PORT= ? DATABASE_URL= ? Note: You can change the values of these environment variables to fit your needs. Start the server using the command npm run start:dev. Running the Frontend Server To run the frontend server, follow these steps:
Navigate to the frontend directory using the command cd frontend. Start the server using the command ng serve. Once both servers are running, you can access the application by navigating to http://localhost:4200 in your web browser.
If you would like to contribute to this project, please follow these guidelines:
Fork this repository to your own GitHub account and clone it to your local machine. Create a new branch for your changes using the command git checkout -b your-branch-name. Make your changes to the code and commit them using the command git commit -m "your commit message". Push your changes to your forked repository using the command git push origin your-branch-name. Create a pull request on this repository and wait for the maintainers to review your changes.
This project is licensed under the MIT License. See the LICENSE file for more information.