A messaging application
-
Go to Auth0 and create account.
-
Create a new regular web app (React).
-
Create a .env.local file in the client directory.
-
Now head on to env.txt file in the root dir of this project and copy the env titles and paste the CLIENT ID and DOMAIN.
-
Then create account of Firebase, and create an application.
-
Now paste the API KEY to all the other configuration details which firebase gives.
-
Create a new account on CockroachDB.
-
Create new project & copy the database configuration string.
-
Sly,
cd
to server and paste cockroachdb url in env.local.
First, cd
to server directory.
Then, install packages using bun install
command.
Now, run the server with bun --watch index.ts
.
On new terminal cd client
.
Install packages using npm i
or npm install
.
For development, use npm run dev
.
For production, first build it using npm run build
.
Then, run with npm run start
.
For, prisma studio, on new terminal cd
to server directory.
Next, run npx prisma studio
or prisma studio
.