Every user has a unqiue avatar and can create posts, likes and comments.
Here is how you can run this code in your local environment:
- Pull the code in your local environment.
- Create a MongoDB cluster and a database.
- Create a config.js file in root directory.
- In config.js, export an object:
module.exports = {
SECRET_KEY: "secretkey",
MONGODB: "connectionURL"
}
- In both frontend and root directory, run npm i command to install the dependencies.
㊗️ Voilà, you are good to go!
Here is an awesome avatar generator that I used: dicebear.
This website was deveoped to learn GraphQL basics - it is hosted here, please dont create unnecessory accounts or posts.