Brain.Gain.Preview.mp4
Brain Gain is a study tool that I developed to learn and apply my knowledge of the MERN stack. I used Quizlet as a reference to build the app and implement similar functionalities. Brain Gain allows users to create and share flashcards and tests. It also provides a simple user interface for a seamless study experience.
- React
- TailwindCSS
- Node.js
- Express.js
- MongoDB
-
Clone the project to your local machine.
git clone https://github.com/alliyah95/brain-gain.git
-
Install dependencies for both the client and server by running the following command in the
client
andserver
directories:npm install
-
Setup the environment variables for both the client and server.
-
Start the server by navigating to the
server
directory and running the following command:npm run dev
-
Start the client by navigating to the
client
directory and running the following command:npm run start
-
Access the app by navigating to
http://localhost:3000
in your web browser.
REACT_APP_BACKEND_API="http://localhost:8080/api/"
# The base URL for the backend API
PORT=8080
# The port on which the server will run
JWT_SECRET=your-jwt-secret
# A secret key used to sign and verify JSON Web Tokens (JWTs)
DB_URI=mongodb://127.0.0.1:27017/brain-gain
# The URI for your MongoDB database
Brain Gain is licensed under the GPL-3.0 license.