Skip to content

Fix: Project fixed - API with PostgreSQL, async, endpoints working.#1

Open
alcitech7-oss wants to merge 4 commits into
mainfrom
fixed
Open

Fix: Project fixed - API with PostgreSQL, async, endpoints working.#1
alcitech7-oss wants to merge 4 commits into
mainfrom
fixed

Conversation

@alcitech7-oss

Copy link
Copy Markdown
Owner

What was done

  • ✅ PostgreSQL database configured and connected
  • ✅ Async driver (asyncpg) installed and working
  • ✅ Tables created using Alembic migrations
  • ✅ GET and POST endpoints tested and returning correctly
  • ✅ Authentication via x-secret header validated
  • ✅ Project fully functional

Before vs After

Branch Status
main Original broken code
fixed Fully working code

How to test

  1. Clone the repository
  2. Create a .env file with your database credentials
  3. Run alembic upgrade head to create the tables
  4. Start the server with python -m quantex
  5. Test the endpoints using the x-secret header

Notes

This PR closes the issue of the project not running due to database connection and missing async driver support.

Fix: Project fixed - API with PostgreSQL, async, endpoints working.
chore: add requirements.txt with working dependencies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant