Skip to content

Commit

Permalink
[DOCUMENTATION] updated README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
tigran-saatchyan committed Nov 17, 2023
1 parent 3af5578 commit 995c0b3
Show file tree
Hide file tree
Showing 2 changed files with 94 additions and 20 deletions.
108 changes: 91 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

<h1 align="center">UniMart by EvoQ</h1>
<h1 align="center">UniMart by EvoQ<br>Your Personal Shopping Companion</h1>

<h4 align="center">E-Commerce API MVP</h4>

Expand All @@ -17,7 +17,6 @@
* [Features](#features)
* [Prerequisites](#prerequisites)
* [Installation](#installation)
* [Setting up](#setting-up)
* [Structure / Scaffolding](#structure--scaffolding)
* [Documentation](#documentation)
* [Browser Support](#browser-support)
Expand All @@ -41,7 +40,47 @@ into their applications or websites, making it
easier to run online stores.

## Features
#### **Effortless Registration, Exclusive Access**

- **Swift Onboarding:**
- Join UniMart with a breeze using your Full Name, Email, and Phone – setting up your account in moments.

- **Exclusive Shopping Experience:**
- Gain access to a world of curated products tailor-made for our authorized users.

#### **Smart Shopping with UniMart Basket**

- **Intelligent Cart Management:**
- UniMart Basket, your intelligent shopping companion, adapts to your preferences seamlessly.

- **Quick Checkout:**
- Add, remove, or clear items with a single click – making your shopping journey smooth and enjoyable.

#### **Real-Time Product Discovery**

- **Diverse Product Range:**
- Explore a diverse range of products that cater to your unique tastes and needs.

- **Stay Informed:**
- Receive real-time updates on product additions and updates, ensuring you never miss out.

#### **Secure and User-Friendly Authentication**

- **Effortless Login:**
- Swiftly access UniMart using your Email or Phone, accompanied by a secure password.

- **Authenticated Perks:**
- Unlock a world of benefits with exclusive access to our curated product list.

#### **Technical Brilliance for a Seamless Experience**

- **Blazing-Fast Speed:**
- UniMart leverages asynchronous processes, ensuring a swift and responsive shopping experience.

- **Secure Identity Handling:**
- Your identity is protected with robust Bearer Tokens or JWT authentication.

#### **UniMart by EvoQ - Elevating Your Shopping Experience to New Heights!**
## Prerequisites

You will need the following installed on your computer.
Expand All @@ -51,14 +90,51 @@ You will need the following installed on your computer.

### Installation

Rename '.env.template' to '.env' and fill in the required fields.

Open your terminal and type in.

[//]: # (TODO: update after composer is implemented)


### Setting up
Let's go through the steps to run the project "UniMart_by_EvoQ".

1. **Clone the Repository:**
```bash
git clone [email protected]:tigran-saatchyan/UniMart_by_EvoQ.git
```

2. **Navigate to Project Directory:**
```bash
cd UniMart_by_EvoQ
```

3. **Install Poetry:**
- If you haven't installed Poetry yet, please follow the instructions on the official website: https://python-poetry.org/docs/#installation

4. **Install Project Dependencies:**
```bash
poetry install
```

5. **Activate Virtual Environment:**
```bash
poetry shell
```

6. **Run the Project:**
- Unfortunately, without specific information about how the project should be run, I can't provide an exact command. Look for a `main.py`, `app.py`, or similar file, and run it using:
```bash
uvicorn main:app --reload --host 127.0.0.1 --port 8000
```

7. **Testing:**
- If there are tests available, you can run them with:
```bash
poetry run pytest
```
- If you want to run the tests with coverage, you can use:
```bash
poetry run pytest --cov=app tests/
```
- If you want to run the tests with coverage and generate a report, you can use:
```bash
poetry run pytest --cov=app tests/ --cov-report=html && open htmlcov/index.html
```
Please note that the success of these steps depends on the project's structure and requirements. If there are additional steps or specific configurations needed, consult the project's documentation or README.


### Structure / Scaffolding
Expand Down Expand Up @@ -144,7 +220,6 @@ app
├── unitofwork.py
└── utils.py
```

</details>
Expand All @@ -153,8 +228,8 @@ app
<strong>Note:</strong> The scaffolding was generated with tree.

## Documentation
- http://localhost:8000/
- http://localhost:8000/docs
- http://example.com:8000/
- http://example.com:8000/docs

## Dependencies

Expand Down Expand Up @@ -187,9 +262,8 @@ Detailed changes for each release will be documented in the
[release notes](https://github.com/users/tigran-saatchyan/projects/11).

## Issues

![GitHub issues](https://img.shields.io/github/issues/tigran-saatchyan/UniMart_by_Evoq)
![GitHub closed issues](https://img.shields.io/github/issues-closed/tigran-saatchyan/UniMart_by_Evoq)
<a href="https://github.com/tigran-saatchyan/UniMart_by_EvoQ/issues?q=is%3Aopen+is%3Aissue"><img src="https://img.shields.io/github/issues/tigran-saatchyan/UniMart_by_Evoq" alt="Support me on Paypal"></a>
<a href="https://github.com/tigran-saatchyan/UniMart_by_EvoQ/issues?q=is%3Aissue+is%3Aclosed"><img src="https://img.shields.io/github/issues-closed/tigran-saatchyan/UniMart_by_Evoq" alt="Support me on Paypal"></a>

Please make sure to read the [Issue Reporting Checklist](https://github.com/tigran-saatchyan/UniMart_by_Evoq/issues?q=is%3Aopen) before opening an issue. Issues not conforming to the guidelines may be closed immediately.

Expand Down Expand Up @@ -226,4 +300,4 @@ Like what you see? Keep me awake at night by buying me a coffee or two.
## License
Copyright (c) 2023 Tigran Saatchyan.

Usage is provided under the MIT License. See [LICENSE](https://github.com/tigran-saatchyan/UniMart_by_Evoq/blob/master/LICENSE) for the full details.
Usage is provided under the MIT License. See [LICENSE](https://github.com/tigran-saatchyan/UniMart_by_EvoQ/blob/master/LICENSE) for the full details.
6 changes: 3 additions & 3 deletions app/schemas/users.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@ class UserCreate(schemas.BaseUserCreate):
"""

confirm_password: str
first_name: Optional[str] = Field(None)
last_name: Optional[str] = Field(None)
telephone: Optional[str] = Field(None)
first_name: Optional[str]
last_name: Optional[str]
telephone: Optional[str]


class UserUpdate(schemas.BaseUserUpdate):
Expand Down

0 comments on commit 995c0b3

Please sign in to comment.