To get started, follow these steps:
-
Clone the repository:
git clone https://github.com/m-mohammad-d/azogeh.git
-
Navigate into the project directory:
cd azogeh
-
Install the backend dependencies:
npm install
-
Install the client dependencies:
npm install --prefix client
-
Create
.env
file in root of this project, and ask me for more details...🙂
To start the development server, run:
npm run start:dev
This command will run both the server and the client concurrently.
Now, navigate into client
directory, and develop your project
👌🏻
- Open this address in your browser
http:localhost:3000/server
and create your sample data.
- To import sample data into the database, follow these steps:
-
Navigate into this directory:
src/data
, and find this file:products.ts
, now create your sample data. -
After creating your data, in root directory of this project run these command:
npm run data:import
To destroy the seeded data, run:
npm run data:destroy