LAMA2 is an enhanced version of the original project LAMA (Life Admin Management Advisor) incorporating new features like TypeScript, Redux, AI-powered note generation, drag-and-drop and more.
This is the server that enables the AI prompt response and stores the data in a MySQL database. Check the lama2 repository to know more.
- Node.js
- Express
- TypeScript
- MySQL
- Sequelize
- OpenAI
- User signup and login endpoints.
- Notes data fetching, creation, update, deletion and order change.
- Error handling and data validation middlewares.
- OpenAI API integration with later data manipulation.
- Authentication with JWT added.
Check lama2 repository to know and see more.
In order to run the project succesfully, please add the next environment variables to your .env file
MYSQL_HOST = Your MySQL host
MYSQL_USER = Your MySQL user
MYSQL_PASSWORD = Your MySQL password
MYSQL_DATABASE = _Your MySQL database name
OPENAI_API_KEY = Your private API key
JWT_SECRET = A JWT secret
Clone the project, change to the project directory and install dependencies
git clone https://github.com/alepemu/lama2-server.git
cd lama2-server
npm iStart the local server
npm run dev- Connet to the front end
- Enable profiles and authentication
- Add emails functionality
Alejandro - www.alepemu.me - @ apenalvermunita@gmail.com
Project Link: https://github.com/alepemu/lama2
Useful resources and libraries: