Skip to content

Conversation

@sammaji
Copy link

@sammaji sammaji commented Jul 22, 2024

No description provided.

@sammaji
Copy link
Author

sammaji commented Jul 22, 2024

Hi @Sonichigo @Swpn0neel can you please review it?

Signed-off-by: Samyabrata Maji <samyabratamaji334@gmail.com>
@Sonichigo
Copy link
Contributor

Hi @Sonichigo @Swpn0neel can you please review it?

Hey, @sammaji can add a readme file with instructions and curl commands.!

@sammaji
Copy link
Author

sammaji commented Jul 23, 2024

@Sonichigo there is a readme file with instructions and some curl commands for interacting with the api.

Copy link
Contributor

@Swpn0neel Swpn0neel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! But for further improvement you can add more curl commands to cover all of your operations, and also you can generate the test coverage report using Keploy!

}'
```
```bash
curl --location 'http://127.0.0.1:8000/todos/'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this curl command isn't working

Let's make some sample API requests.

```bash
curl --location 'http://127.0.0.1:3000/todos/' \
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this one throws 400 bad request


This will start your server at `https://localhost:3000`.

## Setup With Docker
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this paragraph isn't required


If you docker installed, simply run `docker compose up` and it will start your server.

Make sure you have provided all the environment variables in `.env` file.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please add .env.sample on what things to add in the file.


Keploy can be installed on Linux directly. If you're on windows, you would need Windows Subsystem For Linux (WSL). Based on your system architecture, install the keploy latest binary release. Read more about it [here](https://keploy.io/docs/server/installation/).

### For Linux, MacOS and WSL
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can add one-click installation url and remove line from 49, to 58.

@Sonichigo
Copy link
Contributor

Stale PR. Closing the pr since now it has conflicts as well

@Sonichigo Sonichigo closed this Aug 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants