This was the final project at Craft Academy, for which we had 2 weeks. We use Expo and React Native for the front-end and Ruby on Rails for the backend develup_api. For the tests we used Detox and RSpec
The idea is as follows: companies (clients), will publish a task that they need to perform. On the other side, the 'develUpers' will be able to see the tasks and apply to them if they are interested. The companies, in turn, will be able to see in each of the tasks they have published, the number of developers who have applied and choose one of them. And this is where the most important part of the application comes in: our system of scores and levels. Each task that companies publish will have a number of points that will be the result of two parameters: the chosen programming languages and the estimated timeframe for the project. The more skills needed and the longer the estimated time, the higher the score. This amount of points will be obtained by the chosen develUper, once the task is delivered and the client is satisfied.
DevelUpers will be able to scale levels based on the amount of points they have, and by doing so, we want to obtain a system where the levels of the develUpers represent their skills. Companies can trust in them and in our system.
First, make sure you have Expo CLI installed:
npm install -g expo-cli
Install:
yarn or yarn install
Run Project Locally:
expo start
With the simulator open run:
detox test
We use mockserver
to mock the server responses.
in CLI
$ mockserver -p 3000 -m './e2e/mocks'
in test configuration: the mockServer is located in e2e/mockServer.js
// start server
let server = mockServer.open(<port number>)
// close server
mockServer.close(server);
currentlyFocusedField is deprecated and will be removed in a future release. Use currentlyFocusedInput
- We follow this Solution
Select the file: node_modules/react-native-keyboard-aware-scroll-view/lib/KeyboardAwareHOC.js Line 372 & replace: const currentlyFocusedField = TextInput.State.currentlyFocusedInput ? findNodeHandle(TextInput.State.currentlyFocusedInput()) : TextInput.State.currentlyFocusedField();