873 B
873 B
Frontend for MigratorProject
Built using REACT, based on learning templates currently. DEVELOPMENT only
Installation
- Clone repository
git clone https://git.lovelynet.net/The_Bois/MigratorProject-frontend.git
- Install dependencies
npm install
- Start scripts
Development server
npm start
Build for production
npm run build
The development server will start on http://localhost:3000
Get css docs here https://materializecss.com/
Default .htaccess file
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.html$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule . /index.html [L]
</IfModule>
env variables
REACT_APP_SITE_URL=SITEURL
REACT_APP_API_ADDRESS=ADDRESS
REACT_APP_API_KEY=APIKEY