https://github.com/chrisubs/postly
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.
https://github.com/chrisubs/postly
flask mongodb nextjs python tailwindcss typescript
Last synced: 3 months ago
JSON representation
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.
- Host: GitHub
- URL: https://github.com/chrisubs/postly
- Owner: ChrisUBS
- Created: 2025-05-16T02:02:49.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2026-02-20T19:33:38.000Z (5 months ago)
- Last Synced: 2026-02-21T00:54:58.818Z (5 months ago)
- Topics: flask, mongodb, nextjs, python, tailwindcss, typescript
- Language: TypeScript
- Homepage: https://postly-16p0.onrender.com
- Size: 118 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Postly - A Little Blog Social Network
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.
## Technologies Used
### Frontend
- Next.js
- TypeScript
- Tailwind CSS
### Backend
- Flask
- Python
## Installation and Execution
### Prerequisites
- Node.js and npm installed
- Python and virtualenv installed
### Clone the Repository
```bash
git clone https://github.com/ChrisUBS/postly
```
### Frontend Installation and Execution
1. Navigate to the frontend directory:
```bash
cd frontend
```
2. Install dependencies:
```bash
npm install
```
3. Start the development server:
```bash
npm run dev
```
### Backend Installation and Execution
1. Navigate to the backend directory:
```bash
cd backend
```
2. Create and activate a virtual environment:
```bash
python -m venv venv
source venv/bin/activate # On Windows use `venv\Scripts\activate`
```
3. Install dependencies:
```bash
pip install -r requirements.txt
```
4. Run the server:
```bash
python server.py
```
### Note
Configure your .env files for the backend (.env.example) and frontend (.env.local.example), don't forget to remove ".example".
## Features
- **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.
## License
This project is licensed under the GNU General Public License (GPL).