https://github.com/abnerpersio/bedrock-api
Studying security on NodeJS APIs
https://github.com/abnerpersio/bedrock-api
docker nodejs security typescript
Last synced: 3 months ago
JSON representation
Studying security on NodeJS APIs
- Host: GitHub
- URL: https://github.com/abnerpersio/bedrock-api
- Owner: abnerpersio
- Created: 2021-09-16T22:09:21.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2022-10-02T02:35:42.000Z (almost 4 years ago)
- Last Synced: 2025-05-27T15:10:06.285Z (about 1 year ago)
- Topics: docker, nodejs, security, typescript
- Language: TypeScript
- Homepage:
- Size: 357 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Bedrock API

This is a project created for learning about security in my Node.JS apps.
I learned a lot of things about Metasploit, nmap function, Rate Limiter, NGINX, Docker, Jest testings with MongoDB and made my think about a lot of thinks.
### How to run the project
#### With docker:
Configure enviroment variables in `docker-compose.yaml` file in `api` and `mongo` sections
Run `docker-compose up`
**See the magic happening :)**
##### Without docker
**Requirements:**
- MongoDB running
Create `.env` file in root
Fill enviroment variables according `.env.example` file (don't forget MongoDB access)
Run `npm install` or `yarn`
Run `npm run build` or `yarn build`
Run `npm run start` or `yarn start`
**See the magic happening :)**
If you want, you can change the content in `src` folder
run `npm run dev` or `yarn dev` to see your changes happening in real time
### Techs used:
- Typescript
- Express
- MongoDB
- Docker
- NGINX
- Jest for automated tests
See what is happening and my newest changes at the `develop` branch
### See my notes at Notion:
[Click here to read my notes](https://abnerpersio.notion.site/Notas-bedrock-api-3a1749e12b294bc7894007ea3dc8db2f)