PASTES
is a project for creating and viewing paste (posts), which can be small articles, training tutorials
or just notes, you can attach files to all this, which is always nice.
The server part of the project is presented in this repository. This is a REST API application that is implemented using:
Java 21
Spring
PostgreSQL
S3
Docker
JWT
-
Fill in the environment variables in the setenv.sh file.
-
Activate environment variables by running setenv.sh file:
source setenv.sh
mvn clean package
mvn spring-boot:run
If you have selected port 8080, the application will be available at http://localhost:8080.
The OpenAPI documentation will be available at http://localhost:8080/swagger-ui/index.html.
mvn clean package
docker-compose up --build
This project is licensed under the MIT License. See the LICENSE file for details.