/my-social-network

This project is a social network application using Go for the backend and React for the frontend. It features user authentication, JWT-based security, and CRUD operations for posts. The backend is connected to PostgreSQL and provides RESTful APIs, while the frontend offers a user-friendly interface. Comming soon

Primary LanguageTypeScript

Social Network Project 🚀

Overview 🌐

This project is a social network application developed using React for the frontend and Go for the backend. It allows users to create accounts, authenticate, post content, and manage their posts.

Frontend 💻

The frontend is built with React. It provides a user interface for interacting with the social network.

Running the Frontend 🚀

To start the frontend development server, navigate to the frontend directory and run:

npm run dev

This will start the development server and open the application in your default web browser.

Setup 🛠️

Database Schema 🗄️
Run the following SQL commands to set up the database schema:

CREATE TABLE users (
    id SERIAL PRIMARY KEY,
    username VARCHAR(50) NOT NULL,
    email VARCHAR(100) UNIQUE NOT NULL,
    password TEXT NOT NULL,
    created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP
);

CREATE TABLE posts (
    id SERIAL PRIMARY KEY,
    username VARCHAR(50) NOT NULL,
    content TEXT NOT NULL,
    created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP
);

image

License 📜

This project is licensed under the MIT License. See the LICENSE file for details.

Author 📝

Breno Dias Rodrigues
Curriculum: https://brenod.github.io/curriculum/
Email: dias2579@gmail.com