Skip to content

IsharaWeerasinghege/seaside

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

seaside

how to run this project localy

1.Clone the repository to your local machine using the git clone command.

2.Install the required dependencies for both the client and server applications. You can do this by navigating to the server directory of the project in your terminal and running the following command:


cd server
npm install

3.In a separate terminal window, navigate to the client directory within the project and run the following command to install client dependencies:

 
cd client 
npm install

4.Create a .env file in the server directory of the project and add the following variables:


MONGODB_URI="your_mongodb_uri"
JWT_SECRET="your_jwt_secret"

5.Replace <your_mongodb_uri> with your MongoDB connection string, and <your_jwt_secret> with a secret string that will be used to sign and verify JSON Web Tokens.

6.Start the server by running the following command in the server directory of the project:


npm run start

7.In a separate terminal window, navigate to the client directory within the project and run the following command to start the client application:


cd client
npm start

8.Seaside project should now be running locally. You can view it by navigating to http://localhost:3000 in your web browser.

How to import users to mongoDb

1.create a collection users.

2.click add data button.

3.select import JSON or CSV file.

4.select users.json file in data folder.

5.then import button.

Demo user data and password

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages