Skip to content

mhd12e/ai-courses

Repository files navigation

AI Courses

Google Gemini Postgres Flask MIT

A web app that helps you learn and develop new skills in a structured way.

About the project

a Flask web app that generates courses using Google's Gemini API. It generates a plan and content and you can chat with your AI instants.

Usage

To host or deploy the website we will use Docker. First of all, clone the repo.

git clone https://github.com/Mohamed1242012/ai-courses.git
cd ai-courses

Then rename the example.env file into .env, open the new renamed file.

# Database - URL must match the data in the docker compose file
POSTGRESQL_URL=postgresql://user:password@postgres:5432/ai-courses
# Gemini API
GENAI_API=AIzaSyBQBf-XhweIAfdjHkhJ78763 # Not a real API Key

Change the GEN_API variable to your real API key, you can generate one from https://aistudio.google.com/apikey.

Now start the docker containers

sudo docker compose up --build -d

Open your browser and type http://localhost:80

License

This project is licensed under the GNU General Public License Version 3 - see the LICENSE file for details.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published