Welcome to Job Leet, your go-to job portal powered by the Job Leet Job Portal API. This project is built using .NET 8, Docker and MySQL, providing a robust REST API for job-related functionalities.
Find the Frontend Development repository of this project Here
Install Docker
- Create
.env
file in the root directory Fill the following information
MYSQL_DATABASE= DBName
MYSQL_PASSWORD= StrongPassword
- Rename
appsettings.json
toappsettings.Development.json
Replace the following informatoin
"ConnectionStrings": {
"jobleetconnect": "Server=sql_server;Database=<DBName>;User=<Username>;Password=<password>;Port=3306;AllowPublicKeyRetrieval=True;SslMode=None"
},
- Navigate to the
docker-compose.yml
and check the credentials; It should match the credentials ofjobleetconnect
Note: The credentials indocker-compose.yml
,.env
andjobleetconnect
must match.
environment:
MYSQL_DATABASE: ${MYSQL_DATABASE}
MYSQL_USER: leetadmin
MYSQL_PASSWORD: ${MYSQL_PASSWORD}`
- Final step
docker-compose build && docker-compose up
and Access the service using
http://localhost:8080/api/v1/<endpoint>
Or
http://localhost:8080/swagger/index.html
Make sure you have the following installed on your system:
Clone the repository:
git clone https://github.com/Nix-code/Job-Leet-core-api.git
Navigate to the project directory:
cd Job-Leet-core-api
Build the application:
bash dotnet build
Update the appsettings.json
file with your MySQL database connection details. But we will be using appsettings.Development.json
for our work.
Job Leet uses a MySQL database to store job-related data. You can configure the database connection settings in the appsettings.json file.
dotnet add package Microsoft.EntityFrameworkCore.Design
- BaseAPIController
- BaseDBContext
- Input Validation
- Data Validation
- Database Migrations
- Endpoints
- Caching
- Loggers
- Authentication
- Exceptions
- SecurityHeaders
- RateLimiter
- Versioning
- Jwt Tokens
- Message Broker (RabbitMQ)
- Documentations
- Docker Container
- CICD
- Unit tests
If you encounter any issues or have suggestions, feel free to open an issue here
We welcome contributions to make Job Leet even better! If you'd like to contribute, please follow the steps here
This project is licensed under the MIT License. Feel free to explore, contribute, and use Job Leet according to the terms of the license.