Skip to content

PubXpo/Web3Laliberte.WebApp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Description

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.

Technologies Used

The following technologies are leveraged to build and maintain the application:

  • JavaScript
  • React
  • npm
  • SQL
  • C#

Prerequisites

Before beginning, ensure the following are installed:

  • Docker
  • Docker Compose
  • .NET SDK

Getting Started

Installation

  1. Start the application using Docker Compose:

    docker-compose -f docker-compose.dev.yml up --build
  2. 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 update

    Alternatively, manually create the users, database, and tables using the init.sql script.

Usage

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.

API Endpoints

Contact Logs

  • 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

Orders

  • 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

FAQs

  • 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

License

This project is licensed under the MIT License.

About

Engineering MVVM Software: A C# Donation and Gift Fulfilment Webapp

Topics

Resources

Stars

Watchers

Forks