Search star wars planets
-
For username and password check https://swapi.dev/api/people
Username
is person'sname
Password
is person'sbirth_year
-
For planets check https://swapi.dev/api/planets. You can search planets by their names.
Open your favorite Terminal and run these commands:
npm install
cp ./packages/client/.env.example ./packages/client/.env
cp ./packages/server/.env.example ./packages/server/.env
npm start
# Open http://localhost:3000 for client
# Open http://localhost:4000/graphql for server
In the project directory, you can run:
Removes node_modules from lerna packages.
Removes build, .netlify and netlify-lambda folders from lerna packages.
Runs client and server in development mode.
Lints client and server using eslint.
Formats client and server using prettier.
Runs client and server tests.
Run lint and tests.
Builds the app for production to the build
folder.
Runs the app from build folder.