Lyrassist is a web application that leverages OpenAI GPT-3.5 to generate lyrics for various music genres. With the use of GraphQL and the MERN (MongoDB, Express.js, React, Node.js) stack, Lyrassist provides an intuitive and interactive platform for lyric generation. Whether you're a seasoned musician or a budding songwriter, Lyrassist is here to inspire you and elevate your musical creations to new heights.
- Features
- Technologies Used
- Installation
- Usage
- Collaborators/Contributions
- Deployment
- License
- Acknowledgements
- Choose from a variety of music genres to generate lyrics.
- Get instant and creative lyric suggestions using OpenAI GPT-3.5.
- User authentication and profile management.
- Edit and delete generated lyrics through a carousel view.
- Responsive and user-friendly design.
-
Front-end:
- React: JavaScript library for building user interfaces.
- Apollo Client: GraphQL client for React applications.
- Bootstrap: CSS framework for responsive web design.
- CSS3: Markup and styling of the application.
-
Back-end:
- Node.js: JavaScript runtime environment.
- Express.js: Web application framework for Node.js.
- GraphQL: Query language for APIs.
- MongoDB: NoSQL database for storing user data and generated lyrics.
- Mongoose: Object Data Modeling (ODM) library for MongoDB.
-
Clone the repository:
git clone https://github.com/Rbustan0/lyrassist.git
-
Install the dependencies:
- At root directory:
npm install
OR
- Front-end:
cd lyrassist/client
and runnpm install
- Back-end:
cd lyrassist/server
and runnpm install
- At root directory:
-
Set up environment variables:
- Create a
.env
file in theserver
directory. - Define the required environment variables (e.g., database connection URI, JWT secret key).
- Create a
-
Start the development server:
- At root directory: run
npm run develop
OR - Front-end:
cd lyrassist/client
and runnpm start
- Back-end:
cd lyrassist/server
and runnpm start
- At root directory: run
- Open your web browser and navigate to
http://localhost:3000
. - Sign up or log in to your account.
- Choose a music genre and click the "Generate Lyrics" button.
- View the generated lyrics on the carousel on your profile.
- Click edit on the generated lyrics you want to edit and hit submit to save them as the new set of lyrics.
Contributions to Lyrassist are welcome! If you find any bugs, have suggestions for improvements, or would like to add new features, please submit an issue or a pull request to the repository.
Images of Site Template
This project is licensed under the MIT License.
- UCLA/EDX's instruction and sample documentation for web development
- Special thanks to the developers and contributors of the MERN stack and related libraries.
- Open AI Chat GPT API documentation