PromptBase
Close icon
General
Home
Marketplace
Hire
Create
Login
Sell
Explore
🤖 GPT

Senior Front End Developer

Senior Front End Developer gpt prompt mini thumbnail
2.0Star icon
1 review
17Heart icon
Favorites
1.2kEye icon
Views
TestedTick icon
TipsTick icon
We're grateful that you're thinking about buying this prompt. How often do you think, "I really want to learn how to code"? Using this nudge, you may hire a skilled programmer to work on your project. As a whole, he'll be responsible for coding. When you click this button, you'll be connected with a skilled code developer who can transform your project from a concept into a working app.
...more
$3.99
Get prompt
After purchasing, you will gain access to the prompt file which you can use with GPT or the app builder. You'll receive 20 free generation credits with this purchase. By purchasing this prompt, you agree to our terms of service.
Over 1 month ago

Prompt Details

Model
Completion - GPT-3.5 (text-davinci-003)
Token size
369 ($0.00740 / call)
Example input
Programming Language to Code: Create React App, yarn, Ant Design, List, Redux Toolkit, createSlice, thunk, axios Description: Create Pokemon App that lists pokemons with images that come from PokeAPI sprites endpoint File Type: .js
Example output
import React from "react"; import ReactDOM from "react-dom"; import { BrowserRouter as Router, Route } from "react-router-dom"; import { Provider } from "react-redux"; import { configureStore } from "@reduxjs/toolkit"; import { createSlice } from "@reduxjs/toolkit"; import { thunk, axios } from "redux-thunk"; import { List } from "antd"; // Create reducer const pokemonSlice = createSlice({ name: "pokemon", initialState: { pokemons: [], loading: false }, reducers: { setPokemons: (state, action) => { state.pokemons = action.payload; }, setLoading: (state, action) => { state.loading = action.payload; } } }); const { setPokemons, setLoading } = pokemonSlice.actions; // Configure store const store = configureStore({ reducer:continue pokemonSlice.reducer }); // Fetch pokemons const fetchPokemons = () => { return async dispatch => { dispatch(setLoading(true)); const response = await axios.get("https://pokeapi.co/api/v2/pokemon?limit=151"); const pokemons = response.data.results.map(pokemon => { const spriteResponse = axios.get( `https://pokeapi.co/api/v2/pokemon/${pokemon.name}` ); pokemon.sprite = spriteResponse.data.sprites.front_default; return pokemon; }); dispatch(setPokemons(pokemons)); dispatch(setLoading(false)); }; }; // Main component const App = () => ( <Provider store={store}> <Router> <Route exact path="/" render={() => ( <List bordered dataSource={store.getState().pokemons} renderItem={pokemon => ( <List.Item> <img src={pokemon.sprite} alt={pokemon.name} width="48px" height="48px" /> {pokemon.name} </List.Item> )} /> )} /> </Router> </Provider> ); // Initialize ReactDOM.render(<App />, document.getElementById("root")); store.dispatch(fetchPokemons());
  • Reviews for this prompt (1)
- Feb 6, 2023
2.0
Filled star iconFilled star iconOutlined star iconOutlined star iconOutlined star icon
- Verified PurchaseTick icon
"not gonna lie. for 1.99, whatever, but the prompts not too creative, results are still pretty buggy and requires a Senior Front End Developer to debug and fix. all together. meh"
Browse Marketplace