Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/vehicle tracking #7

Open
wants to merge 20 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "chrome",
"request": "launch",
"name": "Launch Chrome against localhost",
"url": "http://localhost:3000",
"webRoot": "${workspaceFolder}"
}
]
}
107 changes: 80 additions & 27 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,38 +1,91 @@
# Technical Test - Fullstack Developer

Welcome to the technical test for the Fullstack Developer position at Traxi!
# Tracking Route

In this test, you will have the opportunity to demonstrate your skills and knowledge in web application development. Please read the instructions and requirements carefully before you begin.
Prueba Técnica Traxi

Remember, this test is designed to evaluate your skills and experience. We recommend following development best practices and maintaining clean, well-structured code.

Good luck! We look forward to seeing your talent in action!

## Instructions
## Tecnologías
Node.js
Express
React con Typescript
MongoDB
## Documentation API

1. Fork this repository to your personal GitHub account.
2. Clone the forked repository to your local machine.
3. Create a new branch for this test.
4. Follow the instructions provided in the [challenge](challenge.md) file to complete the test.
5. Make frequent commits as you progress through the development.
6. Once you are done, push your changes to your forked repository.
7. Create a pull request in your own repository to merge the changes from your branch into the main branch of your forked repository.
8. Share the link to your forked repository and the pull request with us.
[Documentation API](https://documenter.getpostman.com/view/6305636/2sA3Bn7t9u)

## Requirements
## Documentation Frontend

- Proficiency in frontend web development using:
- JavaScript, preferably TypeScript.
- ReactJS and/or Next.js.
- Experience in backend development using:
- Node.js
- Express
- Any database for data persistence and manipulation
- Familiarity with version control tools such as Git.
This documentation is located in the docs directory and provides detailed guidance on the Frontend project.

If you have any questions or need clarification, feel free to contact us - we're here to help!

Enjoy the technical test!

Best regards,
The Traxi Tech Team ❤️
## Run Backend


Install dependencies

```bash
npm install
```

Create a .env file at the root of your project directory with the following values:




```bash
PORT=8080
MONGODB_URI= ROUTE_MONGODB
```

Start the server

```bash
npm run dev
```


## Run Frontend


Install dependencies

```bash
npm install
```

Create a .env file located at ./envs/.env with the following configurations:


```bash
REACT_APP_API_URL=URL_API
REACT_APP_USE_MOCKS=false
REACT_APP_API_KEY_GOOGLE= API_KEY
```

Start the app

```bash
npm start dev
```

## Running Tests Frontend

To run tests, run the following command

```bash
npm run test
```


## Demo

https://feature-vehicle-tracking--shiny-panda-6aa784.netlify.app/#


## Demo API

https://trx-fullstack-dev-technical-test-uizb.onrender.com/api/vehicle


2 changes: 2 additions & 0 deletions backend/.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
PORT=8080
MONGODB_URI=mongodb+srv://adminapp:1234567890@technicaltest.zujaqpr.mongodb.net/TechnicalTest
4 changes: 4 additions & 0 deletions backend/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
node_modules/
.env
app.yaml
.vscode
13 changes: 13 additions & 0 deletions backend/app.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
require('dotenv').config();
const Server = require('./src/server');
console.log('***************************************************************************************');
console.log(` \t\t\t ENVIRONMENT ON `)
console.log('*************************************************************************************** \n');


const server = new Server();




server.listen();
Loading