Skip to content

devbits-go/DevBits

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DevBits

Goal: Create an X and LinkedIn crossover for posting real content about your projects, semi-formally

Outline

Projects are the baseline of the app, you must have a project to post.

Anyone can comment, like, follow, despite their project count.

Some quirky names for things (frontend only)

  • Projects are called 'Stream's
  • Posts about projects are called 'Byte's
  • Comments are called 'Bit's

Tech Stack

  • Backend/API in Go, Elixir/Scala if need big data processing
  • Frontend: ReactNative and Expo
  • Database: PostgreSQL or MySQL
  • Host: On AWS, full system design pending

Local Testing

Backend Testing

Install the following packages:

  • Go (for running the API)
  • SQLite3 (for database operations)

1. Navigate to the Project Root

Change into the project directory:

cd /path/to/DevBits

2. Start the Database

  1. Open a terminal and navigate to the database directory:

    cd backend/api/internal/database
  2. Launch the SQLite database:

    sqlite3 dev.sqlite3
  3. (Optional) Open the create_tables.sql file in a new terminal for reference:

    nvim create_tables.sql

3. Start the API

  1. Open another terminal and navigate to the backend directory:

    cd backend
  2. Run the API:

    go run ./api

That's it! You're ready to start working with the DevBits API and database.


Frontend Testing

Install the following packages:

  • Node (for running the React Native App)

1. Navigate to the DevBits Frontend

Change into the project directory:

cd /path/to/DevBits/frontend

2. Check required packages are installed

npm install     

3. Start the app

npm run frontend

In the output, you'll find options to open the app in a

Run app

1. Navigate to the DevBits frontend (required to run npm commands)

Change into the project directory:

cd /path/to/DevBits/frontend

2. Run all required commands

npm run all

About

X and LinkedIn Crossover for Developers!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •