Skip to content

Commit

Permalink
feat(logout): implement logout functionality
Browse files Browse the repository at this point in the history
  • Loading branch information
GarrixA committed Apr 25, 2024
1 parent b60531d commit fec37c8
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,21 @@
Welcome to <b>ShopTrove</b>, an Excellent E-commerce destination! Browse thousands of products from top brands, enjoy exclusive deals, and personalized recommendations. With secure payments and fast delivery, ShopTrove makes shopping a breeze. <br><br> This READMe file explains in detail how our app works and how to run it in your local development environment.

## Stack development

[![Development stacks](https://skillicons.dev/icons?i=typescript,express,nodejs,jest&theme=light)](https://skillicons.dev)

## Database, ORM and data storage

[![Database, ORM and data storage](https://skillicons.dev/icons?i=postgres,sequelize&theme=light)](https://skillicons.dev)

## Continuous integration

[![Continuous integration](https://skillicons.dev/icons?i=githubactions&theme=light)](https://skillicons.dev)

## Version control

[![Version control](https://skillicons.dev/icons?i=github,git&theme=light)](https://skillicons.dev)

## API documentation
<a href="https://hackers-ec-be.onrender.com/api/v1/docs/">![Swagger](https://img.shields.io/badge/-Swagger-%23Clojure?style=for-the-badge&logo=swagger&logoColor=white)</a>

<a href="https://hackers-ec-be.onrender.com/api/v1/docs/">![Swagger](https://img.shields.io/badge/-Swagger-%23Clojure?style=for-the-badge&logo=swagger&logoColor=white)</a>
2 changes: 1 addition & 1 deletion src/__test__/users.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ describe("USER API TEST", () => {
expect(body.message).toStrictEqual("Account Created successfully!");
expect(body.token).toBeDefined();
});

it("it should return a user not found and status 400", async () => {
const { body } = await Jest_request.post("/api/v1/users/register")
.send(user_bad_request)
Expand Down

0 comments on commit fec37c8

Please sign in to comment.