Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ycabrera90/buymeacoffee
With this App you can thanks my job.
https://github.com/ycabrera90/buymeacoffee
dlocal-infrastructure ejs express heroku-deployment nodejs
Last synced: about 8 hours ago
JSON representation
With this App you can thanks my job.
- Host: GitHub
- URL: https://github.com/ycabrera90/buymeacoffee
- Owner: ycabrera90
- Created: 2023-01-31T12:59:41.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2024-06-29T00:17:21.000Z (5 months ago)
- Last Synced: 2024-06-29T01:32:31.233Z (5 months ago)
- Topics: dlocal-infrastructure, ejs, express, heroku-deployment, nodejs
- Language: CSS
- Homepage: https://buy-me-a-coffee.yosniel-dev.com/
- Size: 379 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# Buy me a coffee
This in a small [endpoint](https://buy-me-a-coffee.yosniel-dev.com) to interact with DLocal services for make online payments.## Built with
* [EJS](https://ejs.co/) - Template engine
* [Node.Js](https://nodejs.org/en/docs/) - JavaScript runtime environment
* [Express](https://www.mongodb.com/atlas) - Node.js Framework!
* [NPM](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm) - Dependencies handler## Frontend Side
Te frontend side of this project is rendered in the server side using the template engine [EJS](https://ejs.co/). Yo can see the final deployment in the following [link](https://buy-me-a-coffee.yosniel-dev.com).## Clone and run app
These instructions will allow you to obtain a copy of the project on your local machine for development and test purposes.
Look the [**deployment**](https://buy-me-a-coffee.yosniel-dev.com) so you can see the final result.#### Pre-requirements
For run this project you must have installed globally the following packages in your local machine* [NodeJs](https://nodejs.org/en/)
* [NPM](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm)#### Clone and prepare.
For clone and serve the project you need open a terminal, go to the folder which you want to work and put the follows commands
```
git clone https://github.com/ycabrera90/BuyMeACoffee.gitcd BuyMeACoffee
npm install
```After that you have to create a file called **nodemon.json** with the follow structure:
```
{
"env": {
"DLOCAL_API_KEY": "",
"DLOCAL_API_SECRET": "",
}
}
```
You can get the **DLocal api key** and **DLocal api secret** in you account of [DLocal Go](https://dashboard.dlocalgo.com/).#### Serve the app.
For serve the app you need to run the following command:
```
npm run dev
```Then you can open your browser and go to the following [link](http://localhost:5000).
## Authors
* [**Yosniel Cabrera**](https://yosniel-dev.com) - *React Developer*
## License
This project is **public** and only for academic purposes.## Read More 🎁
* You can find the documentation of the APIS in the following [link](https://docs.dlocalgo.com/integration-api/).
[⬆ Back to top](#buy-me-a-coffee)
---
[email protected]