make an edic web app edic is entrepreneurship development innovation cell in which the admin side can post events and it is visble on the user side make it using angular pstgresql and springboot give me entire project
I'll create a complete web application for the Entrepreneurship Development Innovation Cell (EDIC) with Angular frontend, Spring Boot backend, and PostgreSQL database. The application will allow admins to post events that will be visible to users.
Here's the overall architecture of our EDIC web application:
Let's start building the application components:
Now, let's create the Angular frontend for our EDIC application:
Create a new database named edic_db
:
createdb edic_db
src/main/resources/application.properties
Build the project:
./mvnw clean package
Run the application:
./mvnw spring-boot:run
Install dependencies:
npm install
Start the development server:
ng serve
http://localhost:4200
The application comes with a default admin user:
admin
admin123
admin@edic.com
edic-app/
├── backend/ # Spring Boot application
│ ├── src/main/java/
│ │ ├── com/edic/
│ │ │ ├── config/ # Configuration classes
│ │ │ ├── controller/ # REST controllers
│ │ │ ├── dto/ # Data Transfer Objects
│ │ │ ├── model/ # Entity classes
│ │ │ ├── repository/ # JPA repositories
│ │ │ ├── security/ # Security configuration
│ │ │ └── service/ # Business logic
│ └── src/main/resources/ # Application properties, SQL scripts
├── frontend/ # Angular application
│ ├── src/
│ │ ├── app/
│ │ │ ├── components/ # Angular components
│ │ │ ├── guards/ # Route guards
│ │ │ ├── interceptors/# HTTP interceptors
│ │ │ ├── models/ # TypeScript interfaces
│ │ │ └── services/ # Angular services
│ │ ├── assets/ # Static assets
│ │ └── environments/ # Environment configuration
This EDIC web application provides a complete solution for managing and displaying events. The admin side allows for full CRUD operations on events, while the user side provides a clean interface for viewing event details. The application is built with Angular for the frontend, Spring Boot for the backend, and PostgreSQL for the database, as requested.