BitClout is a social media application that allows users to create posts, vote on them and join groups in accordance with their interests.
- React and Next.js are used in the frontend using typescript.
- PostgreSQL is used as a database.
- TypeORM is the ORM in this project.
- Redis is used as a cache store.
- A node based backend is developed using graphQL to serve as the server.
- URQL is used to transfer data between the server and the UI.
Copy .env.example
from the server folder to .env
and add your private information
Note: never commit this file, it should be ignored by Git
DATABASE_URL=
REDIS_URL=
PORT=
SESSION_SECRET=
CORS_ORIGIN=
$ git clone git@github.com:theMillenniumFalcon/BitClout.git
$ gh repo clone theMillenniumFalcon/BitClout
$ git clone https://github.com/theMillenniumFalcon/BitClout
$ cd client
$ npm install
$ cd server
$ npm install
# development
$ npm run dev
# production mode
$ npm run build
# watch mode
$ npm run watch
# development
$ npm run dev
# production mode
$ npm run build
.
├── dist # Compiled javascript files
├── src # Source files
└── ...
.
├── generated # Typescript hooks generated using graphQL
├── graphql # GraphQL files
├── pages # nextJS pages
├── public # assets
└── ...
.
├── ...
├── src
│ ├── ...
│ ├── entities # Entities for database tables
│ ├── migrations # TypeORM migrations
| ├── index.ts # Starting point
│ └── ...
└── ...
Feel free to ask us on Twitter! You can also email us at nishankpr2002@gmail.com.