Welcome to Web3 Laliberté! This is a donation and gift fulfilment web application built with a modern tech stack, featuring a React frontend and a C# backend. The application provides robust API endpoints to manage contact logs, orders, and FAQs efficiently.
The following technologies are leveraged to build and maintain the application:
- JavaScript
- React
- npm
- SQL
- C#
Before beginning, ensure the following are installed:
- Docker
- Docker Compose
- .NET SDK
-
Start the application using Docker Compose:
docker-compose -f docker-compose.dev.yml up --build
-
Set up the database and run migrations: Ensure the database container is running. Then, apply the migrations:
cd Server/Services/Web3Laliberte.OperationsAPI dotnet ef database updateAlternatively, manually create the users, database, and tables using the
init.sqlscript.
Localhost Application URLs: Access the applications via the following URLs. Both applications include footer links to each other.
- Donation Flagship:
http://localhost:4010/ - Admin Portal:
http://localhost:4020/
Log in to the Admin Portal using "admin" as both the username and password.
Swagger API URL: Explore the API documentation at Swagger Documentation.
- GET
/api/v1/contactlogs- Retrieve all contact logs - GET
/api/v1/contactlogs/{id}- Retrieve a contact log by ID - POST
/api/v1/contactlogs- Create a new contact log - PUT
/api/v1/contactlogs/{id}- Update a contact log by ID - DELETE
/api/v1/contactlogs/{id}- Delete a contact log by ID
- GET
/api/v1/orders- Retrieve all orders - GET
/api/v1/orders/{id}- Retrieve an order by ID - POST
/api/v1/orders- Create a new order - PUT
/api/v1/orders/{id}- Update an order by ID - DELETE
/api/v1/orders/{id}- Delete an order by ID
- GET
/api/v1/faqs- Retrieve all FAQs - GET
/api/v1/faqs/{id}- Retrieve an FAQ by ID - POST
/api/v1/faqs- Create a new FAQ - PUT
/api/v1/faqs/{id}- Update an FAQ by ID - DELETE
/api/v1/faqs/{id}- Delete an FAQ by ID
This project is licensed under the MIT License.