Skip to content

instagram-clone-backend-api is a scalable, API-first backend built with Flask, featuring JWT authentication (access & refresh tokens), MySQL persistence, and schema-managed migrations using SQLAlchemy and Alembic. It follows production-ready practices with secure configuration, validation, CORS support, and image handling for frontend integration.

License

Notifications You must be signed in to change notification settings

nfon41547-hash/SocialCore-Backend

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SocialCore Backend

A clean and scalable Flask backend built to handle public contact messages submitted through a portfolio website. It exposes a RESTful API that validates incoming requests using Marshmallow and securely stores data in a MySQL database via SQLAlchemy. The project follows industry-standard backend architecture and best practices.


Project Preview


🎯 Purpose

This backend is designed specifically for a portfolio website contact form. When a visitor submits their name, email, and message, the request is validated and the data is securely stored in a MySQL database. These messages can later be reviewed directly from the database or exposed through admin APIs.


📦 Packages

This project uses the following core packages:

  • Flask – Core web framework
  • Flask-SQLAlchemy – ORM integration with Flask
  • SQLAlchemy – Database toolkit
  • PyMySQL – MySQL database driver
  • Flask-Migrate – Database migration support
  • Alembic – Migration engine
  • Marshmallow – Request data validation
  • python-dotenv – Environment variable management

All dependencies and versions are defined in requirements.txt.


⚙️ Configuration

Environment Variables

Create a .env file in the project root directory and define the following environment variable:

DATABASE_URL=mysql+pymysql://username:password@localhost/socialcore

About

instagram-clone-backend-api is a scalable, API-first backend built with Flask, featuring JWT authentication (access & refresh tokens), MySQL persistence, and schema-managed migrations using SQLAlchemy and Alembic. It follows production-ready practices with secure configuration, validation, CORS support, and image handling for frontend integration.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 94.0%
  • Mako 6.0%