Expross 1.1.2
Expross is a lightweight web server to introduce JavaScript developers familiar with Express to Python.
License: MIT

<div id="top"></div>

[![Hits](https://hits.seeyoufarm.com/api/count/incr/badge.svg?url=https%3A%2F%2Fgithub.com%2Fmauro-balades%2Fexpross&count_bg=%2379C83D&title_bg=%23555555&icon=&icon_color=%23E7E7E7&title=hits&edge_flat=false)](https://hits.seeyoufarm.com)

<!-- PROJECT LOGO -->
<br />
<div align="center">

  <h1 align="center">Expross</h3>

  <p align="center">
    Expross is a lightweight web server to introduce JavaScript developers familiar with Express to Python.
    <br />
    <a href="https://mauro-balades.gitbook.io/docs/"><strong>Explore the docs »</strong></a>
    <br />
    <br />
    <a href="https://mauro-balades.gitbook.io/expross/geting-started/basic-ussage">Example app</a>
    ·
    <a href="https://github.com/mauro-balades/expross/issues">Report Bug</a>
    ·
    <a href="https://github.com/mauro-balades/expross/pulls">Request Feature</a>
  </p>
</div>

## About The Project

**NOTE**: for obvious reasons, it will not be exactly the same (maybe because of language resctrictions or because it is not implemented).

Theres a lot of people that work with express.js and they whant to change to python for many diferent reasons. That is why Expross it created. To give web development from express.js users a nice and clean introduction to web development in python.

Here's why:
* Function names are very similar to express.js
* It is faster than other web frameworks
* Secure and continuesly maintained :smile:

Of course, this is not a perfect project but. We have shown people with no idea of web development for python how to use this framework. They said it is the most easy framework to learn because it's similarities with express.js

<p align="right">(<a href="#top">back to top</a>)</p>

## Getting Started

Here, we will show you how easy is to run a web server in expros
To get a local copy up and running follow these simple example steps.

### Prerequisites

You will need to install the package (obviously) with `pip3` and run the application with `python3` (wich normally comes with pip3 integrated).

### Installation

_Below is an example of how you can instruct your audience on installing and setting up your app. This template doesn't rely on any external dependencies or services._

1. Install Expross
  ```sh
  pip3 install Expross
  ```
  
 ... is that simple

<p align="right">(<a href="#top">back to top</a>)</p>

## Usage

This is an example of a hello world with Expross

```python
# Import expross with capital leter
from expross import Expross

app = Expross()

def main(req, res):
  return "<h1>Hello, world!</h1>"

def listening():
  print("server live!")

app.get("/", main)
app.listen(cb=listening) # Can include a host name and port
```

* then, run `python3 [file].py`

That is all....

_For more examples, please refer to the [Documentation]()_

<p align="right">(<a href="#top">back to top</a>)</p>

## Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are **greatly appreciated**.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement".
Don't forget to give the project a star! Thanks again!

1. Fork the Project
2. Create your Feature Branch (`git checkout -b feature/AmazingFeature`)
3. Commit your Changes (`git commit -m 'Add some AmazingFeature'`)
4. Push to the Branch (`git push origin feature/AmazingFeature`)
5. Open a Pull Request

<p align="right">(<a href="#top">back to top</a>)</p>



## License

Distributed under the MIT License. See `LICENSE.md` for more information.

<p align="right">(<a href="#top">back to top</a>)</p>

## Contact

Mauro Baladés - [mauro.balades@tutanota.com](mailto:mauro.balades@tanota.com)

Project Link: [https://github.com/mauro-balades/expross/](https://github.com/mauro-balades/expross/)

<p align="right">(<a href="#top">back to top</a>)</p>