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.
The frontend is built with React. It provides a user interface for interacting with the social network.
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.
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
);
This project is licensed under the MIT License. See the LICENSE file for details.
Breno Dias Rodrigues
Curriculum: https://brenod.github.io/curriculum/
Email: dias2579@gmail.com