Skip to content

Commit

Permalink
feat: Update README.md (#299)
Browse files Browse the repository at this point in the history
  • Loading branch information
Abdel-Monaam-Aouini committed May 13, 2024
1 parent 4442658 commit bc6b084
Showing 1 changed file with 46 additions and 14 deletions.
60 changes: 46 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,35 +1,67 @@
# boilerplate using NodeJS GraphQL ReactJS
```
# Boilerplate for Node.js, GraphQL, and React.js
This is a boilerplate project designed to kickstart your development process using Node.js for the backend, GraphQL for API queries, mutations, and subscriptions, and React.js for the frontend. It's configured to get you up and running quickly with a solid foundation for your project.
## Getting Started
### Clone the Repository
```sh
git clone git@github.com:Monaam12/boilerplate-nodejs-graphQL-react.git
```

### Server Setup

#
clone the repository :
1. Navigate to the server directory:

```sh
git clone git@github.com:Monaam12/boilerplate-nodejs-graphQL-react.git
cd server
```
# server

Run :
2. Install dependencies:

```sh
cd server && yarn
yarn
```

3. Spin up MongoDB using Docker Compose:

```sh
docker-compose up --build -d mongodb
docker-compose up --build -d mongodb
```

4. Start the server:

```sh
yarn start
yarn start
```

# client
### Client Setup

Run :
1. Navigate to the client directory:

```sh
cd client && yarn
cd client
```

2. Install dependencies:

```sh
yarn
```

3. Start the client:

```sh
yarn start
```
yarn start
```

## Additional Information

- **Server**: The server is powered by Node.js and utilizes GraphQL for handling API requests. MongoDB is used as the database, and it's spun up in a Docker container for easy setup.

- **Client**: The client side is built with React.js, providing a dynamic and interactive user interface. It's configured to communicate with the GraphQL server for fetching and managing data.

Feel free to customize and extend this boilerplate to suit your project's needs. Happy coding!
```

0 comments on commit bc6b084

Please sign in to comment.