This is a blog-based social network project where users can view posts without needing to log in. However, by authenticating with Google, they can create posts, like them, and leave comments.
- Next.js
- TypeScript
- Tailwind CSS
- Flask
- Python
- Node.js and npm installed
- Python and virtualenv installed
git clone https://github.com/ChrisUBS/postly- Navigate to the frontend directory:
cd frontend - Install dependencies:
npm install
- Start the development server:
npm run dev
- Navigate to the backend directory:
cd backend - Create and activate a virtual environment:
python -m venv venv source venv/bin/activate # On Windows use `venv\Scripts\activate`
- Install dependencies:
pip install -r requirements.txt
- Run the server:
python server.py
Configure your .env files for the backend (.env.example) and frontend (.env.local.example), don't forget to remove ".example".
- Public Browsing: Any user can view posts without logging in.
- Google Authentication: To create posts, comment, and like, users must log in with Google.
- Post Creation: Authenticated users can publish content.
- Likes and Comments: Interact with posts through likes and comments.
This project is licensed under the GNU General Public License (GPL).