This project contains the source code of store application.
On the back folder, you will find the source code of the API, developed with express and node.
On the front folder, you will find the source code of the front-end application, developed with Vue3.
- Clone the repository
- Install the dependencies on each subfolder (back and front)
- Create a
.envfile on thebackfolder with the following content:
DATABASE_URL=file:./file.db
JWT_SECRET=your_secret
BCRYPT_SALT_ROUNDS=10
- Go to the
backfolder - Run the following command:
npx prisma generate dev
npm run start- API is exposed on
http://localhost:3000
- Go to the
backfolder - Run the following command:
npm run test- Go to the
frontfolder - Make sure the .env file contains the good URL for the API
VITE_API_URL=http://localhost:3000- Run with the following command:
npm run devA postman collection is available under the docs folder. You can import it directly on Postman to use it.
- Fork the repository
- Create a new branch (
git checkout -b feature-branch) - Commit your changes (
git commit -am 'Add new feature') - Push to the branch (
git push origin feature-branch) - Create a new Pull Request
This project is licensed under the MIT License.
For any inquiries, please contact quentin.desbin@ynov.com.