/mernStack

Primary LanguageJavaScript

This is a mern stack project developed using the MERN (MongoDB, Express, React, Node) stack. The project includes a simple web application that allows user to signup his details and loggedin via using his credentials. After login you will be redirected to textToImage page. That page will contain a form where you can provide a text to generate a relatble image.

Installation To install and run this project, follow these steps:

Clone the repository:

git clone https://github.com/1siikaa/practicemernStack.git

Navigate to the project directory:

cd mernStack

Install the dependencies for the server:

npm install

.dotenv:

Create a .env file and there you can declare your port as PORT and mongodb connection string as STRING and
jwtsecret string as JWTSECRET. These variables are known as environment variable.

Start the client:

node index.js
Once the client is running, you can access the application at http://localhost:3001.

Navigate to the client directory:

cd client

Install the dependencies for the client:

npm install

Start the client:

npm run start
Once the client is running, you can access the application at http://localhost:3000.