This is a web application that lets you create and manage your internship logbooks
- Light/dark mode toggle
- Live previews
- Download in .docx or .pdf
- Cross platform compatible
-
Client: React, TailwindCSS
-
Server: Node, Express, Sequelize
-
DataBase Mysql
- mysql
- nodejs
- nodemon
- vitejs
Clone the project
git clone https://github.com/chelsea-banke/log-r.git
|
Go to the project directory
cd frontend
Install dependencies
npm install
Run the project
npm run dev
|
Go to project directory
cd backend
Create the project database
mysql -u root -p
> source absolute-path-to-repository/backend/src/configs/db-schema.sql
Setup your enviromental variables in a .env file
echo "DB_NAME = 'logr-db'" >> .env
echo "DB_USER = your_database_username" >> .env
echo "DB_PASSWORD = your_database_password" >> .env
echo "DB_HOST = 'localhost'" >> .env
echo "SERVER_PORT = 3000" >> .env
echo "JWT_SECRET = your_jwt_secret_string" >> .env
Install dependencies
npm install
Start the server
npm server.js